ARM: uniphier: do not setup pins for System Bus on NAND boot mode
For LD11 and LD20 SoCs, the System Bus and NAND are multiplexed in the same I/O pins. When booting from a NAND device, pin-mux for the System Bus must not be set-up because they are exclusive with each other. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
f5fd45ff64
commit
dacdb24027
@ -15,7 +15,9 @@ int uniphier_ld11_init(const struct uniphier_board_data *bd)
|
|||||||
{
|
{
|
||||||
uniphier_sbc_init_savepin(bd);
|
uniphier_sbc_init_savepin(bd);
|
||||||
uniphier_pxs2_sbc_init(bd);
|
uniphier_pxs2_sbc_init(bd);
|
||||||
uniphier_pin_init("system_bus_grp");
|
/* pins for NAND and System Bus are multiplexed */
|
||||||
|
if (spl_boot_device() != BOOT_DEVICE_NAND)
|
||||||
|
uniphier_pin_init("system_bus_grp");
|
||||||
|
|
||||||
support_card_reset();
|
support_card_reset();
|
||||||
|
|
||||||
|
@ -15,7 +15,9 @@ int uniphier_ld20_init(const struct uniphier_board_data *bd)
|
|||||||
{
|
{
|
||||||
uniphier_sbc_init_savepin(bd);
|
uniphier_sbc_init_savepin(bd);
|
||||||
uniphier_pxs2_sbc_init(bd);
|
uniphier_pxs2_sbc_init(bd);
|
||||||
uniphier_pin_init("system_bus_grp");
|
/* pins for NAND and System Bus are multiplexed */
|
||||||
|
if (spl_boot_device() != BOOT_DEVICE_NAND)
|
||||||
|
uniphier_pin_init("system_bus_grp");
|
||||||
|
|
||||||
support_card_reset();
|
support_card_reset();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user