Skip to content

Commit b256d51

Browse files
ajaykathatjamiegibbons
authored andcommitted
configs: disable auto-loading of WILC SPI module
Remove 'wilc_spi' overlay from 'boot_cmd' U-Boot variable to disable auto-loading of the WILC SPI driver at boot-up. Whether the WILC SPI board is connected with the host or not, the driver module gets auto-loaded and interferes with SDIO testing. With this change, the 'wilc_spi' overlay is not loaded in the default image but it can be enabled at run-time for testing the SPI mode. Signed-off-by: Ajay Singh <[email protected]> Reviewed-by: Nayab Sayed <[email protected]> Signed-off-by: Jamie Gibbons <[email protected]>
1 parent 25071f6 commit b256d51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

board/microchip/sama5d27_som1_ek/uboot-wilc-env.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ at91_set_display=test -n $pda && setenv display $pda
66
board_name=sama5d27_som1_ek
77
bootargs=console=ttyS0,115200 root=/dev/mmcblk1p2 rw rootwait rootfstype=ext4 atmel.pm_modes=standby,ulp1
88
bootcmd=run at91_set_display; run at91_pda_detect; run at91_prepare_video_bootargs; run at91_prepare_bootargs; run at91_prepare_overlays_config; run bootcmd_boot;
9-
bootcmd_boot=fatload mmc 1:1 ${loadaddr} ${board_name}.itb; bootm ${loadaddr}#kernel_dtb${at91_overlays_config}#wilc_spi;
9+
bootcmd_boot=fatload mmc 1:1 ${loadaddr} ${board_name}.itb; bootm ${loadaddr}#kernel_dtb${at91_overlays_config};
1010
bootdelay=1
1111
loadaddr=0x21000000
1212
pda4300test=test -n $display && test $display = 4300 && setenv display_var 'pda4' && setenv video_mode ${video_mode_pda4}

board/microchip/sama5d4_xplained/uboot-env-nand.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ at91_prepare_spi_overlay=setenv wilc_spi_overlay_config '#'${spi_overlay}
2222
bootcmd=run at91_set_display; run at91_pda_detect; run at91_prepare_video_bootargs; run at91_prepare_bootargs; run at91_prepare_overlays_config; run at91_prepare_sdio_overlay; run at91_prepare_spi_overlay; run bootcmd_boot;
2323
pda5000test=test -n $display && test $display = 5000 && setenv display_var 'pda5' && setenv video_mode ${video_mode_pda5}
2424
bootargs=console=ttyS0,115200 mtdparts=atmel_nand:256k(bootstrap)ro,768k(uboot)ro,256k(env_redundant),256k(env),6656k(itb)ro,-(rootfs) rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs rw
25-
bootcmd_boot=nand read 0x24000000 0x00180000 0x680000; bootm 0x24000000#kernel_dtb${at91_overlays_config}${wilc_sdio_overlay_config}${wilc_spi_overlay_config}
25+
bootcmd_boot=nand read 0x24000000 0x00180000 0x680000; bootm 0x24000000#kernel_dtb${at91_overlays_config}${wilc_sdio_overlay_config}
2626
bootdelay=1
2727
stderr=serial
2828
stdin=serial

0 commit comments

Comments
 (0)