[U-Boot] [PATCH v2 09/22] omap4: add spl support for OMAP4 SDP

Wolfgang Denk wd at denx.de
Sun May 15 21:54:27 CEST 2011


Dear Aneesh V,

In message <1305472900-4004-10-git-send-email-aneesh at ti.com> you wrote:
> Adapted from: nand_spl/board/samsung/smdk6400/Makefile
> 
> - Add the SPL makefile for OMAP4430 SDP
> - Add the necessary CONFIG flags in the board config file
> 
> Signed-off-by: Aneesh V <aneesh at ti.com>
> ---
> V2:
>  * Changed CONFIG_SYS_SPL_TEXT_BASE to 0x40304350 from
>    0x40304360. This exact address is needed for EMU
>    devices.
>  * Removed un-necessary compiler options from CFLAGS and AFLAGS.
>    These are already set by .mk files in U-Boot
>  * Reorganize the make files to re-use common rules between
>    boards
> ---
>  board/ti/sdp4430/config.mk                         |    3 +-
>  include/configs/omap4_sdp4430.h                    |   19 +++++
>  spl/board/ti/omap4.mk                              |   77 ++++++++++++++++++++
>  spl/board/ti/rules-omap.mk                         |   74 +++++++++++++++++++
>  .../config.mk => spl/board/ti/sdp4430/Makefile     |   21 +++---
>  5 files changed, 183 insertions(+), 11 deletions(-)
>  create mode 100644 spl/board/ti/omap4.mk
>  create mode 100644 spl/board/ti/rules-omap.mk

See previous comments.  Please comine into plain Makefile.

> diff --git a/board/ti/sdp4430/config.mk b/board/ti/sdp4430/config.mk
> index 33901a7..c62965d 100644
> --- a/board/ti/sdp4430/config.mk
> +++ b/board/ti/sdp4430/config.mk
> @@ -28,4 +28,5 @@
>  # Linux-Kernel is expected to be at 8000'8000, entry 8000'8000
>  # (mem base + reserved)
>  
> -CONFIG_SYS_TEXT_BASE = 0x80e80000
> +# 1MB into the SDRAM to allow for SPL's bss at the beginning of SDRAM
> +CONFIG_SYS_TEXT_BASE = 0x80100000

Please move #define into board header and get rid of the config.mk


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Es ist nicht genug zu wissen, man muß auch anwenden; es ist nicht ge-
nug zu wollen, man muß auch tun.   -- Goethe, Maximen und Reflexionen


More information about the U-Boot mailing list