summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Gerasimovski <[email protected]>2021-06-08 14:23:34 +0000
committerPriyanka Jain <[email protected]>2021-06-17 11:46:11 +0530
commitccbd2ced73d1ad310c34e75dca3ce30f1d515c85 (patch)
tree2335ec1265b950a006332a72c4c3871fb87ac9b3
parentfd49502d0fe30ff5f7d63b572eb8871d013ebec6 (diff)
km: ls102x: update device disable configuration acc hw design desc
In order to improve power consumption ls102x allows to disable peripherals that are not in use. This patch follows SELI8 HW design description and disables peripherals that are not in use in our designs, the same configuration is applicable and for EXPU1. This patch uses available hwconfig option for updating ls102x device disable configuration. Signed-off-by: Aleksandar Gerasimovski <[email protected]> Reviewed-by: Priyanka Jain <[email protected]>
-rw-r--r--include/configs/km/pg-wcom-ls102xa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/km/pg-wcom-ls102xa.h b/include/configs/km/pg-wcom-ls102xa.h
index 644da3bca56..e337b92ef43 100644
--- a/include/configs/km/pg-wcom-ls102xa.h
+++ b/include/configs/km/pg-wcom-ls102xa.h
@@ -288,9 +288,15 @@
"protect on " __stringify(ENV_DEL_ADDR) \
" +" __stringify(CONFIG_ENV_TOTAL_SIZE) "\0"
+#define CONFIG_HW_ENV_SETTINGS \
+ "hwconfig=devdis:esdhc,usb3,usb2,sata,sec,dcu,duart2,qspi," \
+ "can1,can2_4,ftm2_8,i2c2_3,sai1_4,lpuart2_6," \
+ "asrc,spdif,lpuart1,ftm1\0"
+
#define CONFIG_EXTRA_ENV_SETTINGS \
CONFIG_KM_NEW_ENV \
CONFIG_KM_DEF_ENV \
+ CONFIG_HW_ENV_SETTINGS \
"EEprom_ivm=pca9547:70:9\0" \
"ethrotate=no\0" \
""