TPL: TM2: config: add download gpio condition
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 7 Oct 2016 07:28:39 +0000 (16:28 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 11 Apr 2017 09:58:16 +0000 (18:58 +0900)
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 <sw0312.kim@samsung.com>
include/configs/tm2.h

index 7829bedd17278cf7bac6e47eed44b95e98ebe2b7..8771ef9db4efb47a655371ec9a47b06c28dd9ffd 100644 (file)
@@ -97,7 +97,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" \