From: Zhong Hongbo <bocui107@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [V3 01/15] smdk6400: Move smdk6400 board from Makefile to boards.cfg
Date: Sat, 28 Jul 2012 17:35:34 +0800 [thread overview]
Message-ID: <1343468148-26595-2-git-send-email-bocui107@gmail.com> (raw)
In-Reply-To: <1343468148-26595-1-git-send-email-bocui107@gmail.com>
From: Zhong Hongbo <bocui107@gmail.com>
Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
---
Change for V3:
- None
Change for V2:
- None
---
Makefile | 20 --------------------
board/samsung/smdk6400/config.mk | 4 +---
boards.cfg | 2 ++
include/configs/smdk6400.h | 2 +-
4 files changed, 4 insertions(+), 24 deletions(-)
diff --git a/Makefile b/Makefile
index d57c15e..8af1d5d 100644
--- a/Makefile
+++ b/Makefile
@@ -711,26 +711,6 @@ SX1_config: unconfig
fi;
@$(MKCONFIG) -n $@ SX1 arm arm925t sx1
-#########################################################################
-## ARM1176 Systems
-#########################################################################
-smdk6400_noUSB_config \
-smdk6400_config : unconfig
- @mkdir -p $(obj)include $(obj)board/samsung/smdk6400
- @mkdir -p $(obj)nand_spl/board/samsung/smdk6400
- @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
- @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
- @if [ -z "$(findstring smdk6400_noUSB_config,$@)" ]; then \
- echo "RAM_TEXT = 0x57e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
- else \
- echo "RAM_TEXT = 0xc7e00000" >> $(obj)board/samsung/smdk6400/config.tmp;\
- fi
- @$(MKCONFIG) smdk6400 arm arm1176 smdk6400 samsung s3c64xx
- @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
-
-#########################################################################
-#########################################################################
-
clean:
@rm -f $(obj)examples/standalone/82559_eeprom \
$(obj)examples/standalone/atmel_df_pow2 \
diff --git a/board/samsung/smdk6400/config.mk b/board/samsung/smdk6400/config.mk
index 6f04c2f..93a1a0d 100644
--- a/board/samsung/smdk6400/config.mk
+++ b/board/samsung/smdk6400/config.mk
@@ -21,10 +21,8 @@
#
# download area is 0x5000c000
-sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
-
ifndef CONFIG_NAND_SPL
-CONFIG_SYS_TEXT_BASE = $(RAM_TEXT)
+CONFIG_SYS_TEXT_BASE = $(CONFIG_RAM_TEXT)
else
CONFIG_SYS_TEXT_BASE = 0
endif
diff --git a/boards.cfg b/boards.cfg
index 2d36d83..0363b41 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -47,6 +47,8 @@ flea3 arm arm1136 - CarMedi
mx35pdk arm arm1136 - freescale mx35
apollon arm arm1136 apollon - omap24xx
omap2420h4 arm arm1136 - ti omap24xx
+smdk6400 arm arm1176 smdk6400 samsung s3c64xx smdk6400:NAND_U_BOOT,RAM_TEXT=0xc7e00000
+smdk6400_nousb arm arm1176 smdk6400 samsung s3c64xx smdk6400:NAND_U_BOOT,RAM_TEXT=0x57e00000
tnetv107x_evm arm arm1176 tnetv107xevm ti tnetv107x
integratorap_cm720t arm arm720t integrator armltd - integratorap:CM720T
integratorap_cm920t arm arm920t integrator armltd - integratorap:CM920T
diff --git a/include/configs/smdk6400.h b/include/configs/smdk6400.h
index 04caeef..47326d6 100644
--- a/include/configs/smdk6400.h
+++ b/include/configs/smdk6400.h
@@ -54,7 +54,7 @@
/* input clock of PLL: SMDK6400 has 12MHz input clock */
#define CONFIG_SYS_CLK_FREQ 12000000
-#if !defined(CONFIG_NAND_SPL) && (CONFIG_SYS_TEXT_BASE >= 0xc0000000)
+#if !defined(CONFIG_NAND_U_BOOT) && (CONFIG_SYS_TEXT_BASE >= 0xc0000000)
#define CONFIG_ENABLE_MMU
#endif
--
1.7.5.4
next prev parent reply other threads:[~2012-07-28 9:35 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-28 9:35 [U-Boot] V3: S3c64xx: Switch all I/O to use readl/writel functio and Clear variable Zhong Hongbo
2012-07-28 9:35 ` Zhong Hongbo [this message]
2012-07-28 9:35 ` [U-Boot] [V3 02/15] S3C64XX: Switch to use readl/writel to operate nand flash Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 03/15] S3C64XX: Use readl/writel to operate uart Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 04/15] S3C64XX: add pwm for s3c64xx support Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 05/15] S3C64XX: reference s5p cpu time system for s3c64xx timer Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 06/15] S3C64xx: mov cpu_init.S to the board directory Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 07/15] S3C6400: Delete nand_spl for S3C6400 Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 08/15] S3C6400: Adopt SPL framwork to support spl for nand flash Zhong Hongbo
2012-08-10 23:30 ` Scott Wood
2012-08-14 14:15 ` Zhong Hongbo
2012-08-14 16:02 ` Scott Wood
2012-07-28 9:35 ` [U-Boot] [V3 09/15] arm1176: Fixed No relocation Zhong Hongbo
2012-07-29 10:12 ` Albert ARIBAUD
2012-07-29 10:50 ` Zhong Hongbo
2012-07-29 11:09 ` Zhong Hongbo
2012-08-01 14:20 ` Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 10/15] S3C64XX: Change SROM init to use read/write operation Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 11/15] S3C64XX: Switch to use read/writel to operation clock system Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 12/15] S3c64xx: clear GPIO, Interrupt, Watchdog variable Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 13/15] S3C6400: clear memory init variable Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 14/15] S3C64XX: Move s3c6400.h to cpu.h to support s3c6410 board Zhong Hongbo
2012-07-28 9:35 ` [U-Boot] [V3 15/15] S3C6400: Remove the unused variable for S3C6400 Zhong Hongbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343468148-26595-2-git-send-email-bocui107@gmail.com \
--to=bocui107@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox