From: Marek Szyprowski Date: Wed, 15 Jun 2016 10:32:55 +0000 (+0200) Subject: TPL: TM2: enter download mode if INFORM3 equals 0x12345670 + 0x1 X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170105.023941~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3dfec13fd1ca473eb078e23b98d5267c12659f7b;p=platform%2Fkernel%2Fu-boot.git TPL: TM2: enter download mode if INFORM3 equals 0x12345670 + 0x1 Use the same special value for INFORM3 (0x12345670) as previous release of sboot bootloader. This change allows to enter download mode with "reboot -f download" command from Linux userspace. Signed-off-by: Marek Szyprowski Change-Id: I07caa93fdc8fd80f367a96ffdc87781e42809732 --- diff --git a/include/configs/tm2.h b/include/configs/tm2.h index 3a91ade..9e59b13 100644 --- a/include/configs/tm2.h +++ b/include/configs/tm2.h @@ -110,7 +110,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; then echo Thor mode enabled; run displayimg; thor 0 mmc 0; reset; else echo Booting kernel; run boarddetect; run loadkernel; bootm 0x30080000#$board; reset; fi\0" \ + "modedetect=if itest.l *0x10580044 == 0x81 || itest.l *0x10580044 == 0x1 || itest.l *0x105c080c == 0x12345671; then echo Thor mode enabled; run displayimg; mw.l 0x105c080c 0; thor 0 mmc 0; reset; else echo Booting kernel; run boarddetect; run loadkernel; bootm 0x30080000#$board; reset; fi\0" \ "fdt_high=0xffffffffffffffff\0" \ "bootargs=console=ttySAC1,115200 earlycon=exynos4210,0x14C20000 loglevel=7 root=/dev/mmcblk0p18 rootfstype=ext4 rootwait\0" \ "boarddetect=if itest.l *0x138000b4 == 0x0063f9ff; then setenv board tm2e; elif itest.l *0x138000b4 == 0x0059f9ff; then setenv board tm2; else setenv board unknown; fi; echo Detected $board board\0" \