WIFI: add support of new board

Change-Id: I38d85327d6864fc6aa733770c4ceb78ea206a2d1
This commit is contained in:
Romuald JEANNE 2020-06-17 16:42:53 +02:00
parent f8579c6c7a
commit 4f1d165844
1 changed files with 25 additions and 0 deletions

View File

@ -1,6 +1,31 @@
#!/bin/sh #!/bin/sh
SDMMC_PATH=/sys/bus/amba/drivers/mmci-pl18x SDMMC_PATH=/sys/bus/amba/drivers/mmci-pl18x
COMPATIBLE_BOARD=$(cat /proc/device-tree/compatible | sed "s|st,|,|g" | cut -d ',' -f2)
case $COMPATIBLE_BOARD in
stm32mp151a-dk2*)
# supported
;;
stm32mp151f-dk2*)
# supported
;;
stm32mp153a-dk2*)
# supported
;;
stm32mp153f-dk2*)
# supported
;;
stm32mp157c-dk2*)
# supported
;;
stm32mp157f-dk2*)
# supported
;;
*)
exit 1;
esac
if [ -d $SDMMC_PATH ]; if [ -d $SDMMC_PATH ];
then then