mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
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>
This commit is contained in:
parent
642c1f519a
commit
5ca614cae9
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,10 @@ setenv mmcroot "/dev/mmcblk${devnum}p2 rootwait rw"
|
||||||
setenv displayargs ""
|
setenv displayargs ""
|
||||||
setenv mmcargs "setenv bootargs console=${console} ${smp} root=${mmcroot} \
|
setenv mmcargs "setenv bootargs console=${console} ${smp} root=${mmcroot} \
|
||||||
${displayargs}"
|
${displayargs}"
|
||||||
|
setenv miscadj "
|
||||||
|
if test '${boardsoc}' = 'imx53'; then
|
||||||
|
setenv bootargs '${bootargs} di=${dig_in} key1=${key1}';
|
||||||
|
fi;"
|
||||||
setenv boot_fitImage "
|
setenv boot_fitImage "
|
||||||
setenv fdt_conf 'conf@${boardsoc}-${boardname}.dtb';
|
setenv fdt_conf 'conf@${boardsoc}-${boardname}.dtb';
|
||||||
setenv itbcfg "\"#\${fdt_conf}\"";
|
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} \
|
if load ${devtype} ${devnum}:${distro_bootpart} ${loadaddr} \
|
||||||
${kernel_file}; then
|
${kernel_file}; then
|
||||||
run mmcargs;
|
run mmcargs;
|
||||||
|
run miscadj;
|
||||||
run boot_fitImage;
|
run boot_fitImage;
|
||||||
fi;
|
fi;
|
||||||
fi;"
|
fi;"
|
||||||
|
@ -52,6 +57,7 @@ setenv download_kernel "tftpboot ${loadaddr} ${kernel_file}"
|
||||||
setenv boot_tftp_kernel "
|
setenv boot_tftp_kernel "
|
||||||
if run download_kernel; then
|
if run download_kernel; then
|
||||||
run mmcargs;
|
run mmcargs;
|
||||||
|
run miscadj;
|
||||||
run boot_fitImage;
|
run boot_fitImage;
|
||||||
fi"
|
fi"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue