mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 05:42:58 +00:00
c7ab97c62d
This board define the flag CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT
but it's a mistake. It's a workaround for an issue in nand core.
This issue was fixed by the commit 5f626e7849
("mtd: nand: raw:
Fix CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT behavior"). Now, this flag
break the nand on this board, so we simply remove it.
Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
43 lines
873 B
C
43 lines
873 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2019 Philippe Reynes <philippe.reynes@softathome.com>
|
|
*/
|
|
|
|
#include <linux/sizes.h>
|
|
|
|
/*
|
|
* common
|
|
*/
|
|
|
|
/* UART */
|
|
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
|
|
230400, 500000, 1500000 }
|
|
/* Memory usage */
|
|
#define CONFIG_SYS_MAXARGS 24
|
|
#define CONFIG_SYS_MALLOC_LEN (1024 * 1024)
|
|
#define CONFIG_SYS_BOOTM_LEN (16 * 1024 * 1024)
|
|
|
|
/*
|
|
* 63158
|
|
*/
|
|
|
|
/* RAM */
|
|
#define CONFIG_SYS_SDRAM_BASE 0x00000000
|
|
|
|
/* U-Boot */
|
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + SZ_16M)
|
|
#define CONFIG_SYS_LOAD_ADDR CONFIG_SYS_TEXT_BASE
|
|
|
|
#define CONFIG_SKIP_LOWLEVEL_INIT
|
|
|
|
#ifdef CONFIG_NAND
|
|
#define CONFIG_SYS_MAX_NAND_DEVICE 1
|
|
#define CONFIG_SYS_NAND_SELF_INIT
|
|
#define CONFIG_SYS_NAND_ONFI_DETECTION
|
|
#endif /* CONFIG_NAND */
|
|
|
|
/*
|
|
* bcm963158
|
|
*/
|
|
|
|
#define CONFIG_ENV_SIZE (8 * 1024)
|