diff options
| author | Magnus Lilja <[email protected]> | 2009-07-04 10:31:24 +0200 |
|---|---|---|
| committer | Jean-Christophe PLAGNIOL-VILLARD <[email protected]> | 2009-07-06 21:53:18 +0200 |
| commit | d08e5ca301b69ab77ecdd34e2b06aee30d6057d1 (patch) | |
| tree | 664a681d606a8bc689b7c4381d720bb3debf7998 /Makefile | |
| parent | 78eabb90b793fafe875a7469526d1715fa56cbb4 (diff) | |
MX31: Add NAND SPL boot support to i.MX31 PDK board.
Signed-off-by: Magnus Lilja <[email protected]>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -3143,8 +3143,16 @@ imx31_phycore_config : unconfig mx31ads_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm1136 mx31ads freescale mx31 -mx31pdk_config : unconfig - @$(MKCONFIG) $(@:_config=) arm arm1136 mx31pdk freescale mx31 +mx31pdk_config \ +mx31pdk_nand_config : unconfig + @mkdir -p $(obj)include + @if [ -n "$(findstring _nand_,$@)" ]; then \ + echo "#define CONFIG_NAND_U_BOOT" >> $(obj)include/config.h; \ + else \ + echo "#define CONFIG_SKIP_LOWLEVEL_INIT" >> $(obj)include/config.h; \ + echo "#define CONFIG_SKIP_RELOCATE_UBOOT" >> $(obj)include/config.h; \ + fi + @$(MKCONFIG) -a mx31pdk arm arm1136 mx31pdk freescale mx31 omap2420h4_config : unconfig @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 NULL omap24xx |
