]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: arm720t: Support CONFIG_SKIP_LOWLEVEL_INIT_ONLY
authorSimon Glass <sjg@chromium.org>
Wed, 31 May 2017 23:57:11 +0000 (17:57 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 9 Jun 2017 19:39:31 +0000 (13:39 -0600)
This option allows skipping the call to lowlevel() while still performing
CP15 init. Support this on ARM720T so it can be used with Tegra.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/cpu/arm720t/start.S

index 0bb3441fb8f9196c2eb192570b42c80f4e2934c3..365d8f08cb093075d7a68583ed50d37fc5c5f292 100644 (file)
@@ -38,7 +38,8 @@ reset:
         * we do sys-critical inits only at reboot,
         * not when booting from ram!
         */
-#ifndef CONFIG_SKIP_LOWLEVEL_INIT
+#if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && \
+               !defined(CONFIG_SKIP_LOWLEVEL_INIT_ONLY)
        bl      cpu_init_crit
 #endif
 
@@ -62,7 +63,8 @@ c_runtime_cpu_setup:
  *************************************************************************
  */
 
-#ifndef CONFIG_SKIP_LOWLEVEL_INIT
+#if !defined(CONFIG_SKIP_LOWLEVEL_INIT) && \
+               !defined(CONFIG_SKIP_LOWLEVEL_INIT_ONLY)
 cpu_init_crit:
 
        mov     ip, lr