Disable AR933x hang on boot workaround for RAM loadable version
authorPiotr Dymacz <pepe2k@gmail.com>
Fri, 23 Dec 2016 13:22:21 +0000 (14:22 +0100)
committerPiotr Dymacz <pepe2k@gmail.com>
Fri, 23 Dec 2016 13:22:21 +0000 (14:22 +0100)
u-boot/cpu/mips/ar7240/qca_gpio_init.S

index 9b617e48983966f1f08cdb02ec5879de54333d71..18c5ebcfe8cd572574b645fccd4176c02e1419ec 100644 (file)
@@ -484,6 +484,7 @@ lowlevel_gpio_init:
         *
         * TODO: FIXME!
         */
+       #if !defined(CONFIG_SKIP_LOWLEVEL_INIT)
 first_boot:
        li  t8, 0xBD000000
        lw  t9, 0(t8)
@@ -505,6 +506,7 @@ full_reset:
        nop
        nop
        nop
+       #endif
 
        /*
         * GPIO configuration, using GPIO_FUNCTION_1 register: