config: Update KP's imx53 HSC config to pass key pressed information
authorLukasz Majewski <lukma@denx.de>
Wed, 8 May 2019 14:26:23 +0000 (16:26 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
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>
include/configs/kp_imx53.h

index 9c7c9084536065281d2b0945da6da7acde01e6c3..55bfa0fe591f8bd0e6cf8ef34b59d94db9f73fed 100644 (file)
@@ -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