aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/board_init.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2020-02-14 20:54:40 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2020-02-28 02:38:55 +0900
commitce4e9ff4d2366f7f55815305161ecdc444f5c010 (patch)
treebc1d5ab5ae02d0a4d0c6bb18bcd3be0d256e180e /arch/arm/mach-uniphier/board_init.c
parentef5c7d6d5c5cfe146c848e67e042bab6ba150d43 (diff)
downloadu-boot-ce4e9ff4d2366f7f55815305161ecdc444f5c010.zip
u-boot-ce4e9ff4d2366f7f55815305161ecdc444f5c010.tar.gz
u-boot-ce4e9ff4d2366f7f55815305161ecdc444f5c010.tar.bz2
ARM: uniphier: move NAND reset assertion to U-Boot proper from SPL
The comment /* deassert reset */ is wrong. It asserts the reset. It no longer needs to stay in SPL. The NAND controller reset is handled in the driver. So, this assert can be moved to the board_init() of U-Boot proper. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/board_init.c')
-rw-r--r--arch/arm/mach-uniphier/board_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c
index 99727a3..4f9cd6e 100644
--- a/arch/arm/mach-uniphier/board_init.c
+++ b/arch/arm/mach-uniphier/board_init.c
@@ -141,6 +141,10 @@ int board_init(void)
support_card_late_init();
+ led_puts("U4");
+
+ uniphier_nand_reset_assert();
+
led_puts("Uboo");
return 0;