TPL: TM2: config: add download gpio condition 73/91373/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 7 Oct 2016 07:28:39 +0000 (16:28 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 7 Oct 2016 07:28:43 +0000 (16:28 +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 9ae7682..ee1fbe5 100644 (file)
 /* 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" \