diff mbox series

[U-Boot,v1,2/2] config: Update KP's imx53 HSC config to pass key pressed information

Message ID 20190508142623.8925-2-lukma@denx.de
State Awaiting Upstream
Delegated to: Stefano Babic
Headers show
Series [U-Boot,v1,1/2] config: Update KP's imx53 HSC config to support SWUpdate | expand

Commit Message

Lukasz Majewski May 8, 2019, 2:26 p.m. UTC
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 | 2 ++
 1 file changed, 2 insertions(+)

Comments

Stefano Babic June 10, 2019, 9:49 a.m. UTC | #1
> 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>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

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