WIFI: add support of new board
Change-Id: I38d85327d6864fc6aa733770c4ceb78ea206a2d1
This commit is contained in:
parent
f8579c6c7a
commit
4f1d165844
|
|
@ -1,6 +1,31 @@
|
|||
#!/bin/sh
|
||||
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 ];
|
||||
then
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue