From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaehoon Chung Date: Thu, 26 Dec 2013 17:02:41 +0900 Subject: [U-Boot] [PATCH] board:trats2: fix default partitions and mmc env In-Reply-To: <1387462194-5887-1-git-send-email-p.wilczek@samsung.com> References: <1387462194-5887-1-git-send-email-p.wilczek@samsung.com> Message-ID: <52BBE2A1.8090004@samsung.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, Piotr. On 12/19/2013 11:09 PM, Piotr Wilczek wrote: > This patch add uuid disk to defualt partions necessary to > restore gpt partitions and fixes mmcdev environmental variable. > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > --- > include/configs/trats2.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/configs/trats2.h b/include/configs/trats2.h > index 5d86a3d..4c0068b 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=0\0" \ What difference is CONFIG_MMC_DEFAULT_DEV and 0? CONFIG_MMC_DEFAULT_DEV 0 is defined. Maybe, mmcdev is set to 0, isn't? (It recognized that CONFIG_MMC_DEFAULT_DEV isn't defined.) Best Regards, Jaehoon Chung > "mmcbootpart=2\0" \ > "mmcrootpart=5\0" \ > "opts=always_resume=1\0" \ >