aboutsummaryrefslogtreecommitdiff
path: root/board/k+p
diff options
context:
space:
mode:
authorLukasz Majewski2018-05-20 08:33:15 +0200
committerStefano Babic2018-06-18 16:42:04 +0200
commit5ca614cae9ae8bef1bdd0c4621717d1598f50c21 (patch)
tree847968cf4a939203f45e438e206c8702694a03d3 /board/k+p
parent642c1f519a693989f07d1c43f50bd47bafb53422 (diff)
board: Adjust K+P script to run misc (per board) adjustments
This change gives the opportunity to adjust Linux command line for the imx53 device with some legacy data. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/k+p')
-rw-r--r--board/k+p/bootscripts/tpcboot.cmd6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/k+p/bootscripts/tpcboot.cmd b/board/k+p/bootscripts/tpcboot.cmd
index eac79dc890f..16b93ebe3f7 100644
--- a/board/k+p/bootscripts/tpcboot.cmd
+++ b/board/k+p/bootscripts/tpcboot.cmd
@@ -23,6 +23,10 @@ setenv mmcroot "/dev/mmcblk${devnum}p2 rootwait rw"
setenv displayargs ""
setenv mmcargs "setenv bootargs console=${console} ${smp} root=${mmcroot} \
${displayargs}"
+setenv miscadj "
+if test '${boardsoc}' = 'imx53'; then
+ setenv bootargs '${bootargs} di=${dig_in} key1=${key1}';
+fi;"
setenv boot_fitImage "
setenv fdt_conf 'conf@${boardsoc}-${boardname}.dtb';
setenv itbcfg "\"#\${fdt_conf}\"";
@@ -39,6 +43,7 @@ if test -e ${devtype} ${devnum}:${distro_bootpart} ${kernel_file}; then
if load ${devtype} ${devnum}:${distro_bootpart} ${loadaddr} \
${kernel_file}; then
run mmcargs;
+ run miscadj;
run boot_fitImage;
fi;
fi;"
@@ -52,6 +57,7 @@ setenv download_kernel "tftpboot ${loadaddr} ${kernel_file}"
setenv boot_tftp_kernel "
if run download_kernel; then
run mmcargs;
+ run miscadj;
run boot_fitImage;
fi"