mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 00:20:44 +09:00
d3384bf77e
For all the UniPhier SoCs so far, the reset signal of the NAND core is automatically deasserted after the PLL gets stabled. (The bit 2 of SC_RSTCTRL is default to one.) This causes a fatal problem on the NAND controller of PH1-LD4. For that SoC, the NAND I/O pins are not set up yet at the power-on reset except the NAND boot mode. As a result, the NAND controller begins automatic device scanning with wrong I/O pins and finally hangs up. Actually, U-Boot dies after printing "NAND:" on the console unless the boot mode latch detected the NAND boot mode. To work around this problem, reset the NAND core in SPL for non-NAND boot modes. If CONFIG_NAND_DENALI is enabled, the reset signal is deasserted again in U-Boot proper. At this time, I/O pins have been correctly set up, the device scanning should succeed. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> |
||
---|---|---|
.. | ||
include/mach | ||
ph1-ld4 | ||
ph1-pro4 | ||
ph1-sld8 | ||
board_common.c | ||
board_early_init_f.c | ||
board_early_init_r.c | ||
board_late_init.c | ||
cache_uniphier.c | ||
cmd_ddrphy.c | ||
cmd_pinmon.c | ||
cpu_info.c | ||
ddrphy_training.c | ||
dram_init.c | ||
init_page_table.S | ||
Kconfig | ||
lowlevel_init.S | ||
Makefile | ||
print_misc_info.c | ||
reset.c | ||
smp.S | ||
spl.c | ||
support_card.c | ||
timer.c |