diff mbox

[2/6] davinci: omapl138_lcdk: use correct define for 16 bit NAND chips

Message ID 20161129133134.19415-3-fparent@baylibre.com
State New
Headers show

Commit Message

Fabien Parent Nov. 29, 2016, 1:31 p.m. UTC
The omapl138_lcdk header defines CONFIG_SYS_NAND_BUSWIDTH_16_BIT while
the correct name is CONFIG_SYS_NAND_BUSWIDTH_16BIT.
While renaming the only occurrence of CONFIG_SYS_NAND_BUSWIDTH_16_BIT,
let's also remove it from the config_whitelist.txt file.

Signed-off-by: Fabien Parent <fparent@baylibre.com>

---
 include/configs/omapl138_lcdk.h | 2 +-
 scripts/config_whitelist.txt    | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

-- 
2.10.2

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Comments

Tom Rini Nov. 29, 2016, 6:08 p.m. UTC | #1
On Tue, Nov 29, 2016 at 02:31:30PM +0100, Fabien Parent wrote:

> The omapl138_lcdk header defines CONFIG_SYS_NAND_BUSWIDTH_16_BIT while

> the correct name is CONFIG_SYS_NAND_BUSWIDTH_16BIT.

> While renaming the only occurrence of CONFIG_SYS_NAND_BUSWIDTH_16_BIT,

> let's also remove it from the config_whitelist.txt file.

> 

> Signed-off-by: Fabien Parent <fparent@baylibre.com>


Reviewed-by: Tom Rini <trini@konsulko.com>


-- 
Tom
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Tom Rini Dec. 4, 2016, 12:57 a.m. UTC | #2
On Tue, Nov 29, 2016 at 02:31:30PM +0100, Fabien Parent wrote:

> The omapl138_lcdk header defines CONFIG_SYS_NAND_BUSWIDTH_16_BIT while

> the correct name is CONFIG_SYS_NAND_BUSWIDTH_16BIT.

> While renaming the only occurrence of CONFIG_SYS_NAND_BUSWIDTH_16_BIT,

> let's also remove it from the config_whitelist.txt file.

> 

> Signed-off-by: Fabien Parent <fparent@baylibre.com>

> Reviewed-by: Tom Rini <trini@konsulko.com>


Applied to u-boot/master, thanks!

-- 
Tom
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h
index 854fc47..b4bcd8f 100644
--- a/include/configs/omapl138_lcdk.h
+++ b/include/configs/omapl138_lcdk.h
@@ -124,7 +124,7 @@ 
 #define	CONFIG_SYS_NAND_USE_FLASH_BBT
 #define CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST
 #define	CONFIG_SYS_NAND_PAGE_2K
-#define	CONFIG_SYS_NAND_BUSWIDTH_16_BIT
+#define	CONFIG_SYS_NAND_BUSWIDTH_16BIT
 #define CONFIG_SYS_NAND_CS		3
 #define CONFIG_SYS_NAND_BASE		DAVINCI_ASYNC_EMIF_DATA_CE3_BASE
 #define CONFIG_SYS_CLE_MASK		0x10
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index d0b5e7f..0c7d3cd 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -6654,7 +6654,6 @@  CONFIG_SYS_NAND_BLOCK_SIZE
 CONFIG_SYS_NAND_BOOT
 CONFIG_SYS_NAND_BR_PRELIM
 CONFIG_SYS_NAND_BUSWIDTH_16
-CONFIG_SYS_NAND_BUSWIDTH_16_BIT
 CONFIG_SYS_NAND_CE
 CONFIG_SYS_NAND_CLE
 CONFIG_SYS_NAND_CS