diff options
author | Allen Martin <amartin@nvidia.com> | 2012-08-31 08:30:12 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:22 +0200 |
commit | 12b7b70cb01e284a7ca430d90f3e93bcc2daefec (patch) | |
tree | 339e969b69c35cce8e84d5a8bda5be39e7e356bf /Makefile | |
parent | a49716aa7cda96f5e8cd15e57587da7a99f9e330 (diff) | |
download | u-boot-imx-12b7b70cb01e284a7ca430d90f3e93bcc2daefec.zip u-boot-imx-12b7b70cb01e284a7ca430d90f3e93bcc2daefec.tar.gz u-boot-imx-12b7b70cb01e284a7ca430d90f3e93bcc2daefec.tar.bz2 |
tegra20: enable SPL for tegra20 boards
Add SPL options to tegra20 config files and enable SPL build for
tegra20 boards. Also remove redundant code from u-boot that is not
contained in SPL.
Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -381,6 +381,15 @@ ONENAND_BIN ?= $(obj)onenand_ipl/onenand-ipl-2k.bin ALL-$(CONFIG_SPL) += $(obj)spl/u-boot-spl.bin ALL-$(CONFIG_OF_SEPARATE) += $(obj)u-boot.dtb $(obj)u-boot-dtb.bin +# enable combined SPL/u-boot/dtb rules for tegra +ifeq ($(SOC),tegra20) +ifeq ($(CONFIG_OF_SEPARATE),y) +ALL-y += $(obj)u-boot-dtb-tegra.bin +else +ALL-y += $(obj)u-boot-nodtb-tegra.bin +endif +endif + all: $(ALL-y) $(SUBDIR_EXAMPLES) $(obj)u-boot.dtb: $(obj)u-boot |