tritium-h5: Change to using Armbian default DRAM CLK value using hook

This commit is contained in:
Gunjan Gupta 2023-11-16 01:12:51 +05:30
parent 6bcf74f2e7
commit 9ca5435fe3

View File

@ -9,3 +9,9 @@ SERIALCON="ttyS0,ttyGS0"
KERNEL_TARGET="legacy,current,edge"
FULL_DESKTOP="yes"
CRUSTCONFIG="h5_defconfig"
function post_config_uboot_target__lower_DRAM_freq_for_Tritium_H5() {
display_alert "$BOARD" "The defconfig file of Tritium H5 explicitly defines DRAM_CLK as 672." "info"
display_alert "$BOARD" "Change to match default value used for H5 SoC in Armbian" "info"
run_host_command_logged scripts/config --set-val CONFIG_DRAM_CLK "648"
}