summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2024-08-08 07:28:30 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2024-10-28 20:28:46 +0900
commitfcde6e2beb53f4c2e62fa61625cafdf378fa0230 (patch)
treee362aa5ae23450917f698ec420e518490bb5f6d9 /include
parent25d5cc8ee2e17b4506b793e1ac398634363e10ab (diff)
downloadu-boot-fcde6e2beb53f4c2e62fa61625cafdf378fa0230.tar.gz
u-boot-fcde6e2beb53f4c2e62fa61625cafdf378fa0230.tar.bz2
u-boot-fcde6e2beb53f4c2e62fa61625cafdf378fa0230.zip
samsung: tizen_rpi: Set to slot_a by default when run tfm
In some case, it's resetting to normal mode from download mode. So it's always running as ramdisk boot mode. To fix above issue, Set to slot_a by default when run tfm. "run tfm" means that user tries to flahs entire image. So it doesn't need that it enters to slot_b mode. To prevent the overwrite, change the loading address to 0x02500000. Because scriptaddr is using 0x02400000. Change-Id: Iad0791484fb30d08d4584763088b80ad05979df1 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/samsung/tizen_rpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/samsung/tizen_rpi.h b/include/samsung/tizen_rpi.h
index b7593e13d9..fc7f12f255 100644
--- a/include/samsung/tizen_rpi.h
+++ b/include/samsung/tizen_rpi.h
@@ -110,7 +110,7 @@
"nodef_val=6665646e\0" \
"normal_val=6d726f6e\0" \
"download_val=6c6e7764\0" \
- "tfm=setenv bootmode download; run bootcmd\0" \
+ "tfm=setenv bootmode download; run set_to_part_a; run bootcmd\0" \
"tizen_bootarg=cgroup_enable=memory " \
TIZEN_VC_MEM \
"8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2709.serial=0xed6687d3 " \