From 7c03436f289eaf06b51d3f19fec08863ffc7cc1f Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Sun, 19 May 2024 00:11:47 +0900 Subject: [PATCH] vendor: init: Update to LA.VENDOR.1.0.r2-10200-WAIPIO.QSSI13.0 Change-Id: I8e2c4f76c53043842b512f51dd9711c41b447195 --- vendor/init/parrot/bin/init.kernel.post_boot.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/vendor/init/parrot/bin/init.kernel.post_boot.sh b/vendor/init/parrot/bin/init.kernel.post_boot.sh index fcf0e75c..6b880434 100755 --- a/vendor/init/parrot/bin/init.kernel.post_boot.sh +++ b/vendor/init/parrot/bin/init.kernel.post_boot.sh @@ -149,19 +149,19 @@ function configure_memory_parameters() { # Set Memory parameters. configure_memory_parameters -if [ -f /sys/devices/soc0/soc_id ]; then - platformid=`cat /sys/devices/soc0/soc_id` +if [ -f /sys/devices/soc0/chip_family ]; then + chipfamily=`cat /sys/devices/soc0/chip_family` fi -case "$platformid" in - "537" | "583" | "613" | "631" | "633" | "634" | "638") +case "$chipfamily" in + "0x84") /vendor/bin/sh /vendor/bin/init.kernel.post_boot-parrot.sh ;; - "568" | "602" | "581" | "582") + "0x8d") /vendor/bin/sh /vendor/bin/init.kernel.post_boot-ravelin.sh ;; *) - echo "***WARNING***: Invalid SoC ID\n\t No postboot settings applied!!\n" + echo "***WARNING***: Invalid chip family\n\t No postboot settings applied!!\n" ;; esac