nand_spl: simpc8313: move config.mk used only for nand_spl
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 26 Feb 2014 05:51:00 +0000 (14:51 +0900)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:27:39 +0000 (09:27 -0500)
board/sheldon/simpc8313/config.mk is used only for nand_spl.
So it should go into nand_spl/board/sheldon/simpc8313/.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
board/sheldon/simpc8313/config.mk [deleted file]
nand_spl/board/sheldon/simpc8313/Makefile
nand_spl/board/sheldon/simpc8313/config.mk [new file with mode: 0644]

diff --git a/board/sheldon/simpc8313/config.mk b/board/sheldon/simpc8313/config.mk
deleted file mode 100644 (file)
index d1b4e2e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-ifdef CONFIG_NAND_LP
-PAD_TO = 0xFFF20000
-else
-PAD_TO = 0xFFF04000
-endif
index 32afc2784743a94f68955e1b1e3e7bb90be00304..8b29e97860bc2bf6e83c788ef947877e8618f207 100644 (file)
@@ -7,6 +7,8 @@
 # SPDX-License-Identifier:     GPL-2.0+
 #
 
+include $(srctree)/$(src)/config.mk
+
 nandobj        := $(OBJTREE)/nand_spl/
 
 LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
diff --git a/nand_spl/board/sheldon/simpc8313/config.mk b/nand_spl/board/sheldon/simpc8313/config.mk
new file mode 100644 (file)
index 0000000..d1b4e2e
--- /dev/null
@@ -0,0 +1,5 @@
+ifdef CONFIG_NAND_LP
+PAD_TO = 0xFFF20000
+else
+PAD_TO = 0xFFF04000
+endif