summaryrefslogtreecommitdiffstats
path: root/include/configs/tegra20-common.h
diff options
context:
space:
mode:
authorAllen Martin <amartin@nvidia.com>2012-10-19 21:08:23 +0000
committerTom Warren <twarren@nvidia.com>2012-10-29 09:07:06 -0700
commitb2f9893826c48f2653d4a1ffaff8623fdec22303 (patch)
tree23d99267e15adc2b6b5daefc855abcba4c3f7469 /include/configs/tegra20-common.h
parenta759f1e0db7be05ab562e060cf024af262920426 (diff)
downloadblackbird-obmc-uboot-b2f9893826c48f2653d4a1ffaff8623fdec22303.tar.gz
blackbird-obmc-uboot-b2f9893826c48f2653d4a1ffaff8623fdec22303.zip
tegra: move to common SPL framework
Change tegra SPL to use common SPL framework. Any tegra specific initialization is now done in spl_board_init() instead of board_init_f()/board_init_r(). Only one SPL boot target is supported on tegra, which is boot to RAM image. jump_to_image_no_args() must be overridden on tegra so the host CPU can be initialized. Signed-off-by: Allen Martin <amartin@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Tested-by: Stephen Warren <swarren@nvidia.com> Tested-by: Lucas Stach <dev@lynxeye.de> Acked-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/tegra20-common.h')
-rw-r--r--include/configs/tegra20-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h
index 5b048e0094..15bd9bb146 100644
--- a/include/configs/tegra20-common.h
+++ b/include/configs/tegra20-common.h
@@ -169,6 +169,7 @@
#define PHYS_SDRAM_1_SIZE 0x20000000 /* 512M */
#define CONFIG_SYS_TEXT_BASE 0x0010c000
+#define CONFIG_SYS_UBOOT_START CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
#define CONFIG_SYS_BOOTMAPSZ (256 << 20) /* 256M */
@@ -186,6 +187,9 @@
/* Defines for SPL */
#define CONFIG_SPL
+#define CONFIG_SPL_FRAMEWORK
+#define CONFIG_SPL_RAM_DEVICE
+#define CONFIG_SPL_BOARD_INIT
#define CONFIG_SPL_NAND_SIMPLE
#define CONFIG_SPL_TEXT_BASE 0x00108000
#define CONFIG_SPL_MAX_SIZE (CONFIG_SYS_TEXT_BASE - \
OpenPOWER on IntegriCloud