From 18250e89f5b3e6d750ac8d9891f726f8594ea25f Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Fri, 7 Oct 2016 16:28:39 +0900 Subject: [PATCH] TPL: TM2: config: add download gpio condition In specific TM2, gpio value is different from 0x1 or 0x81 at bootup time. So this patch add download gpio condition with 0x41. Change-Id: I4772cf8019aca1c047c7e2c0debbd2a1024036ff Signed-off-by: Seung-Woo Kim --- include/configs/tm2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/tm2.h b/include/configs/tm2.h index 9ae7682..ee1fbe5 100644 --- a/include/configs/tm2.h +++ b/include/configs/tm2.h @@ -122,7 +122,7 @@ /* Initial environment variables */ #define CONFIG_BOOTCOMMAND "run modedetect" #define CONFIG_EXTRA_ENV_SETTINGS "dfu_alt_info=kernel part 0 9 offset 0x400;rootfs part 0 18;system-data part 0 19;user part 0 21\0" \ - "modedetect=if itest.l *0x10580044 == 0x81 || itest.l *0x10580044 == 0x1 || itest.l *0x105c080c == 0x12345671; then run download; else run bootkernel; fi; reset\0" \ + "modedetect=if itest.l *0x10580044 == 0x81 || itest.l *0x10580044 == 0x1 || itest.l *0x10580044 == 0x41 || itest.l *0x105c080c == 0x12345671; then run download; else run bootkernel; fi; reset\0" \ "fdt_high=0xffffffffffffffff\0" \ "bootargs=console=ttySAC1,115200 earlycon=exynos4210,0x14C20000 ess_setup=0x26000000 loglevel=7 root=/dev/mmcblk0p18 rootfstype=ext4 rootwait\0" \ "bootkernel=echo Booting kernel; run boarddetect; run loadkernel; bootm 0x30080000#$board\0" \ -- 2.7.4