aboutsummaryrefslogtreecommitdiff
path: root/include/configs/tegra-common.h
diff options
context:
space:
mode:
authorStephen Warren2015-01-19 16:25:51 -0700
committerTom Warren2015-03-04 10:08:56 -0700
commit026baff755cbab0c8bfc12d78e6966718f5325a5 (patch)
treecebb931682c87ab6d6e47faa811264c94c5166fc /include/configs/tegra-common.h
parent56519c4f0498acdfb4dccd27bbb4b69a60cbb823 (diff)
ARM: tegra: move common config defines centrally
All boards need CONFIG_BOARD_EARLY_INIT_F, and many actively need CONFIG_BOARD_LATE_INIT. Move both of these into tegra-common.h so that board config headers don't need to repeatedly define them. Later commits will add new code in board_late_init() which applies to all boards, so CONFIG_BOARD_LATE_INIT should be enabled for all Tegra boards. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs/tegra-common.h')
-rw-r--r--include/configs/tegra-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h
index 005fc6aeb37..f10ca52ace5 100644
--- a/include/configs/tegra-common.h
+++ b/include/configs/tegra-common.h
@@ -151,6 +151,8 @@
#define CONFIG_SPL_GPIO_SUPPORT
#define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT
/* Misc utility code */
#define CONFIG_BOUNCE_BUFFER