From d450805d2ccc247afb55b21ce3e2478722512172 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Sun, 20 Mar 2016 22:22:45 +0100 Subject: [PATCH] Reset also DDR controller in AR9331 during first boot --- u-boot/cpu/mips/ar7240/qca_gpio_init.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/u-boot/cpu/mips/ar7240/qca_gpio_init.S b/u-boot/cpu/mips/ar7240/qca_gpio_init.S index 9009928..41af006 100644 --- a/u-boot/cpu/mips/ar7240/qca_gpio_init.S +++ b/u-boot/cpu/mips/ar7240/qca_gpio_init.S @@ -467,9 +467,13 @@ first_boot: full_reset: li t8, QCA_RST_RESET_REG lw t9, 0(t8) - or t9, t9, QCA_RST_RESET_FULL_CHIP_RST_MASK + or t9, t9, (QCA_RST_RESET_FULL_CHIP_RST_MASK | \ + QCA_RST_RESET_DDR_RST_MASK) sw t9, 0(t8) nop + nop + nop + nop /* * GPIO configuration, using GPIO_FUNCTION_1 register: -- 2.25.1