summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-10-01 16:34:58 +0200
committerJoonyoung Shim <jy0922.shim@samsung.com>2015-01-15 15:35:43 +0900
commit599eb39c5dc6f285a85fd324a64522ce4a9e0b52 (patch)
tree447bcf8f64dd100e8f72ecae2481e0e481a86779
parenta47a37bf90d0bef6a14663525ea9b4233ca12388 (diff)
downloadu-boot-599eb39c5dc6f285a85fd324a64522ce4a9e0b52.tar.gz
u-boot-599eb39c5dc6f285a85fd324a64522ce4a9e0b52.tar.bz2
u-boot-599eb39c5dc6f285a85fd324a64522ce4a9e0b52.zip
tizen.h: env: checkboard: get partition numbers from variables
Change-Id: I9296eadd6faf97d88cc611276e47c252d6e00417 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
-rw-r--r--include/configs/tizen.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/include/configs/tizen.h b/include/configs/tizen.h
index d8e64d0174..1348eaa5f3 100644
--- a/include/configs/tizen.h
+++ b/include/configs/tizen.h
@@ -94,12 +94,12 @@
" rootwait ${console} ${opts}\0" \
"checkboard=" \
"if test ${boardname} = trats2; then " \
- "setenv mmcbootpart 2;" \
- "setenv mmcrootpart 5;" \
+ "setenv mmcbootpart $bootpart_trats2;" \
+ "setenv mmcrootpart $rootpart_trats2;" \
"setenv console" CONFIG_CONSOLE_TTY2";" \
"else " \
- "setenv mmcbootpart 1;" \
- "setenv mmcrootpart 2;" \
+ "setenv mmcbootpart $bootpart_odroid;" \
+ "setenv mmcrootpart $rootpart_odroid;" \
"setenv console" CONFIG_CONSOLE_TTY1";" \
"fi;\0" \
"boot_fit=" \
@@ -135,6 +135,10 @@
"fi;\0" \
"mmcbootdev=0\0" \
"mmcrootdev=0\0" \
+ "bootpart_trats2=2\0" \
+ "bootpart_odroid=1\0" \
+ "rootpart_trats2=5\0" \
+ "rootpart_odroid=2\0" \
"bootdelay=0\0" \
"dfu_alt_info=Please reset the board.\0" \
"dfu_alt_system_trats2="DFU_ALT_SYSTEM_TRATS2 \