aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMiquel Raynal2018-08-16 10:30:07 -0500
committerJagan Teki2018-09-20 09:40:49 -0500
commita430fa06a4ac50e785fdbfb7f43c3cb14b35619c (patch)
tree08c848b10a9dc1bc865096f0bdce248218512e4d /common
parentce9bdc87436ef91129876c9b16fcf5111eea69aa (diff)
downloadu-boot-a430fa06a4ac50e785fdbfb7f43c3cb14b35619c.tar.gz
u-boot-a430fa06a4ac50e785fdbfb7f43c3cb14b35619c.tar.xz
u-boot-a430fa06a4ac50e785fdbfb7f43c3cb14b35619c.zip
mtd: move NAND files into a raw/ subdirectory
NAND flavors, like serial and parallel, have a lot in common and would benefit to share code. Let's move raw (parallel) NAND specific code in a raw/ subdirectory, to ease the addition of a core file in nand/ and the introduction of a spi/ subdirectory specific to SPI NANDs. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig2
-rw-r--r--common/spl/spl_spi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index 280496fbe0..18dbc238bf 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -487,7 +487,7 @@ config SPL_NAND_SUPPORT
487 help 487 help
488 Enable support for NAND (Negative AND) flash in SPL. NAND flash 488 Enable support for NAND (Negative AND) flash in SPL. NAND flash
489 can be used to allow SPL to load U-Boot from supported devices. 489 can be used to allow SPL to load U-Boot from supported devices.
490 This enables the drivers in drivers/mtd/nand as part of an SPL 490 This enables the drivers in drivers/mtd/nand/raw as part of an SPL
491 build. 491 build.
492 492
493config SPL_NET_SUPPORT 493config SPL_NET_SUPPORT
diff --git a/common/spl/spl_spi.c b/common/spl/spl_spi.c
index ba60a3a3c5..0016d49739 100644
--- a/common/spl/spl_spi.c
+++ b/common/spl/spl_spi.c
@@ -2,7 +2,7 @@
2/* 2/*
3 * Copyright (C) 2011 OMICRON electronics GmbH 3 * Copyright (C) 2011 OMICRON electronics GmbH
4 * 4 *
5 * based on drivers/mtd/nand/nand_spl_load.c 5 * based on drivers/mtd/nand/raw/nand_spl_load.c
6 * 6 *
7 * Copyright (C) 2011 7 * Copyright (C) 2011
8 * Heiko Schocher, DENX Software Engineering, hs@denx.de. 8 * Heiko Schocher, DENX Software Engineering, hs@denx.de.