summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Wilczek <p.wilczek@samsung.com>2013-12-30 09:40:40 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2013-12-31 16:41:10 +0900
commita5e15bbb42512ee5be53967019e9649816790d7e (patch)
treebd88ed0d54bd55edfbeafa6e16ae88e00aa9553e
parentef23b99607de0c0055e6f627c2d2be142a9ab4a6 (diff)
downloadu-boot-imx-a5e15bbb42512ee5be53967019e9649816790d7e.zip
u-boot-imx-a5e15bbb42512ee5be53967019e9649816790d7e.tar.gz
u-boot-imx-a5e15bbb42512ee5be53967019e9649816790d7e.tar.bz2
board:trats2: fix default partitions and mmc env
This patch add uuid disk to defualt partions necessary to restore gpt partitions and fixes mmcdev environmental variable. Signed-off-by: Piotr Wilczek <p.wilczek@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--include/configs/trats2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 5d86a3d..c9ce828 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -160,6 +160,7 @@
#define PARTS_UMS "ums"
#define PARTS_DEFAULT \
+ "uuid_disk=${uuid_gpt_disk};" \
"name="PARTS_CSA",start=5MiB,size=8MiB,uuid=${uuid_gpt_"PARTS_CSA"};" \
"name="PARTS_BOOT",size=64MiB,uuid=${uuid_gpt_"PARTS_BOOT"};" \
"name="PARTS_MODEM",size=100MiB,uuid=${uuid_gpt_"PARTS_MODEM"};" \
@@ -201,7 +202,7 @@
"${kernelname}\0" \
"loaddtb=ext4load mmc ${mmcdev}:${mmcbootpart} ${fdtaddr} " \
"${fdtfile}\0" \
- "mmcdev=CONFIG_MMC_DEFAULT_DEV\0" \
+ "mmcdev=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \
"mmcbootpart=2\0" \
"mmcrootpart=5\0" \
"opts=always_resume=1\0" \