Commit a5e15bbb42512ee5be53967019e9649816790d7e
Committed by
Minkyu Kang
1 parent
ef23b99607
Exists in
master
and in
50 other branches
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>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
include/configs/trats2.h
... | ... | @@ -160,6 +160,7 @@ |
160 | 160 | #define PARTS_UMS "ums" |
161 | 161 | |
162 | 162 | #define PARTS_DEFAULT \ |
163 | + "uuid_disk=${uuid_gpt_disk};" \ | |
163 | 164 | "name="PARTS_CSA",start=5MiB,size=8MiB,uuid=${uuid_gpt_"PARTS_CSA"};" \ |
164 | 165 | "name="PARTS_BOOT",size=64MiB,uuid=${uuid_gpt_"PARTS_BOOT"};" \ |
165 | 166 | "name="PARTS_MODEM",size=100MiB,uuid=${uuid_gpt_"PARTS_MODEM"};" \ |
... | ... | @@ -201,7 +202,7 @@ |
201 | 202 | "${kernelname}\0" \ |
202 | 203 | "loaddtb=ext4load mmc ${mmcdev}:${mmcbootpart} ${fdtaddr} " \ |
203 | 204 | "${fdtfile}\0" \ |
204 | - "mmcdev=CONFIG_MMC_DEFAULT_DEV\0" \" \ | |
205 | + "mmcdev=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0" \" \ | |
205 | 206 | "mmcbootpart=2\0" \ |
206 | 207 | "mmcrootpart=5\0" \ |
207 | 208 | "opts=always_resume=1\0" \ |