mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-16 23:18:51 +09:00
![Philippe Reynes](/assets/img/avatar_default.png)
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>
16 lines
381 B
C
16 lines
381 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2018 Philippe Reynes <philippe.reynes@softathome.com>
|
|
*/
|
|
|
|
#include <configs/bmips_common.h>
|
|
#include <configs/bmips_bcm6838.h>
|
|
|
|
#define CONFIG_ENV_SIZE (8 * 1024)
|
|
|
|
#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 */
|