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

Wolfgang Denk wd at denx.de
Tue May 17 10:19:49 CEST 2011


Dear Aneesh V,

In message <4DD21FB9.6070901 at ti.com> you wrote:
> 
> The top-level make rule being the following, we will need a Makefile in
> the board directory, right?
> 
> +SPL    :$(TIMESTAMP_FILE) $(VERSION_FILE) depend tools
> +    $(MAKE) -C spl/board/$(BOARDDIR) all

Maybe this needs to be tweaked to allow for boards that don;t require
board specific code.

> In fact, code is already common. All OMAP code specific to SPL comes
> from spl/board/ti/spl-omap.c . All OMAP code shared with OMAP U-Boot
> comes from the respective directory within arch/arm/cpu/armv7/*
> 
> In the interest of simplicity I deferred all board specific
> initialization of OMAP4(mainly mux) to U-Boot. So, SPL is board
> independent today for OMAP4.

Then we should adapt the directory and Makefile structure and allow
for such common code without need for separate spl/board/
directories.

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
A mouse is an elephant built by the Japanese.


More information about the U-Boot mailing list