]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - common/Kconfig
Convert CONFIG_ARCH_EARLY_INIT_R to Kconfig
[people/ms/u-boot.git] / common / Kconfig
index f045a166b21d00888a7c23a0f653b119f026f1ad..8d1156cb6e84e1da42a289fef2678132a4bedc5c 100644 (file)
@@ -399,4 +399,17 @@ config DISPLAY_BOARDINFO
          when U-Boot starts up. The board function checkboard() is called
          to do this.
 
+menu "Start-up hooks"
+
+config ARCH_EARLY_INIT_R
+       bool "Call arch-specific init soon after relocation"
+       default y if X86
+       help
+         With this option U-Boot will call arch_early_init_r() soon after
+         relocation. Driver model is running by this point, and the cache
+         is on. Note that board_early_init_r() is called first, if
+         enabled. This can be used to set up architecture-specific devices.
+
+endmenu
+
 source "common/spl/Kconfig"