blob: 355f3ef5be5e8fa30a068ec6c8d7520faebff971 [file] [log] [blame]
Philippe Reynes74b43612018-07-16 19:06:15 +02001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com>
4 */
5
6#include <configs/bmips_common.h>
7#include <configs/bmips_bcm6838.h>
8
9#define CONFIG_ENV_SIZE (8 * 1024)
Philippe Reynes290d04c2019-03-15 15:14:41 +010010
11#ifdef CONFIG_NAND
12#define CONFIG_SYS_MAX_NAND_DEVICE 1
13#define CONFIG_SYS_NAND_SELF_INIT
14#define CONFIG_SYS_NAND_ONFI_DETECTION
15#define CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT
16#endif /* CONFIG_NAND */