summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-05-08 16:26:23 +0200
committerStefano Babic <sbabic@denx.de>2019-06-11 10:42:48 +0200
commit5f6d63adb948178483eb501514994a33e9e200ac (patch)
tree42fc9f42a0e4a3048c9bd7d7da309e0c6b4ed1b0 /include
parenta73b4b60a37656d3901e80b8bed43968ccd17bcd (diff)
config: Update KP's imx53 HSC config to pass key pressed information
The information about pressed key is relevant in performing correct update and recovery scenarios via USB pendrive. This commit modifies envs to provide it. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/kp_imx53.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/kp_imx53.h b/include/configs/kp_imx53.h
index 9c7c908453..55bfa0fe59 100644
--- a/include/configs/kp_imx53.h
+++ b/include/configs/kp_imx53.h
@@ -44,6 +44,7 @@
"updargs=setenv bootargs console=${console} ${smp} ${displayargs}\0" \
"initrd_ram_dev=/dev/ram\0" \
"addswupdate=setenv bootargs ${bootargs} root=${initrd_ram_dev} rw\0" \
+ "addkeys=setenv bootargs ${bootargs} di=${dig_in} key1=${key1}\0" \
"loadusb=usb start; " \
"fatload usb 0 ${loadaddr} ${upd_image}\0" \
"up=if tftp ${loadaddr} ${uboot_file}; then " \
@@ -62,6 +63,7 @@
"run updargs; " \
"run addinitrd; " \
"run addswupdate; " \
+ "run addkeys; " \
"run loadusb; " \
"bootm ${loadaddr}#${fit_config}\0" \
BOOTENV