am335x_boneblack: Only modify NAND/NOR/MMC1 pinmux on BBB in boneblack builds.
PATCH 1/1 am335x_boneblack: Only modify NAND/NOR/MMC1 pinmux on BBB in boneblack builds.
In the case of Beaglebone Black we only want to set the NAND or NOR cape pinmux when the config has been specifically modified by the user for this non-default case. Make the default be to set the MMC1 (eMMC) pinmux. We don't need similar changes for Beaglebone White as there is nothing on MMC1 by default there.
--- board/ti/am335x/mux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
board/ti/am335x/mux.c +2 -2
@@ -364,9 +364,9 @@ void enable_board_pin_mux(struct am335x_baseboard_id *header)configure_module_pin_mux (i2c1_pin_mux);configure_module_pin_mux (mii1_pin_mux);configure_module_pin_mux (mmc0_pin_mux); -#if defined(CONFIG_NAND ) +#if defined(CONFIG_NAND ) && defined(CONFIG_EMMC_BOOT )configure_module_pin_mux (nand_pin_mux); -#elif defined(CONFIG_NOR ) +#elif defined(CONFIG_NOR ) && defined(CONFIG_EMMC_BOOT )configure_module_pin_mux (bone_norcape_pin_mux);#else configure_module_pin_mux (mmc1_pin_mux);
Signature · 1 line
1.7.9.5
Quoted 7 lines · Tom Rini
In the case of Beaglebone Black we only want to set the NAND or NOR cape pinmux when the config has been specifically modified by the user for this non-default case. Make the default be to set the MMC1 (eMMC) pinmux. We don't need similar changes for Beaglebone White as there is nothing on MMC1 by default there.
Signed-off-by Tom Rini <[email protected]>
Applied to u-boot-ti/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141023/d4056e20/attachment.pgp>