public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Zhong Hongbo <bocui107@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] smdk6400: Move smdk6400 board from Makefile to boards.cfg
Date: Thu, 05 Jul 2012 20:02:31 +0800	[thread overview]
Message-ID: <4FF58257.4040706@gmail.com> (raw)
In-Reply-To: <1340639531-13634-1-git-send-email-bocui107@gmail.com>

Hi Minkyu,

Could you help me to review the patch.

Thanks


On 06/25/2012 11:52 PM, Zhong Hongbo wrote:
> From: seedshope <bocui107@gmail.com>
> 
> Signed-off-by: Zhong Hongbo <bocui107@gmail.com>
> ---
>  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 0197239..e3af33f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -695,26 +695,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 53f6dc3..42b0883 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
>  
> 

      reply	other threads:[~2012-07-05 12:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 15:52 [U-Boot] [PATCH] smdk6400: Move smdk6400 board from Makefile to boards.cfg Zhong Hongbo
2012-07-05 12:02 ` Zhong Hongbo [this message]

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=4FF58257.4040706@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