From patchwork Mon Dec 30 08:40:40 2013
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Piotr Wilczek
X-Patchwork-Id: 305737
X-Patchwork-Delegate: promsoft@gmail.com
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Received: from theia.denx.de (theia.denx.de [85.214.87.163])
by ozlabs.org (Postfix) with ESMTP id A03902C00DD
for ;
Mon, 30 Dec 2013 19:41:33 +1100 (EST)
Received: from localhost (localhost [127.0.0.1])
by theia.denx.de (Postfix) with ESMTP id 3FA534AD69;
Mon, 30 Dec 2013 09:41:32 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at theia.denx.de
Received: from theia.denx.de ([127.0.0.1])
by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id sXVN8SPvcZwC; Mon, 30 Dec 2013 09:41:32 +0100 (CET)
Received: from theia.denx.de (localhost [127.0.0.1])
by theia.denx.de (Postfix) with ESMTP id 990484AD6A;
Mon, 30 Dec 2013 09:41:29 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
by theia.denx.de (Postfix) with ESMTP id 647E34AD5F
for ; Mon, 30 Dec 2013 09:41:23 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at theia.denx.de
Received: from theia.denx.de ([127.0.0.1])
by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id pdQ7-GmV3F2o for ;
Mon, 30 Dec 2013 09:41:17 +0100 (CET)
X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5
BL_NJABL=SKIP(-1.5) (only DNSBL check requested)
Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34])
by theia.denx.de (Postfix) with ESMTPS id 10F334AD5C
for ; Mon, 30 Dec 2013 09:41:15 +0100 (CET)
Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26])
by mailout4.samsung.com
(Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit
(built Nov
17 2011)) with ESMTP id <0MYM0084A2SOH0B0@mailout4.samsung.com> for
u-boot@lists.denx.de; Mon, 30 Dec 2013 17:41:12 +0900 (KST)
X-AuditID: cbfee61a-b7fb26d00000724f-52-52c131a72f73
Received: from epmmp1.local.host ( [203.254.227.16])
by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id EE.16.29263.7A131C25;
Mon, 30 Dec 2013 17:41:12 +0900 (KST)
Received: from mcdsrvbld02.digital.local ([106.116.37.23])
by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01
(7.0.4.24.0) 64bit (built Nov 17 2011))
with ESMTPA id <0MYM000Y22S6P720@mmp1.samsung.com>; Mon,
30 Dec 2013 17:41:11 +0900 (KST)
From: Piotr Wilczek
To: u-boot@lists.denx.de
Date: Mon, 30 Dec 2013 09:40:40 +0100
Message-id: <1388392840-17228-1-git-send-email-p.wilczek@samsung.com>
X-Mailer: git-send-email 1.7.10.4
In-reply-to: <1387462194-5887-1-git-send-email-p.wilczek@samsung.com>
References: <1387462194-5887-1-git-send-email-p.wilczek@samsung.com>
X-Brightmail-Tracker:
H4sIAAAAAAAAA+NgFvrNJMWRmVeSWpSXmKPExsVy+t9jAd0VhgeDDH7+Y7G48auN1eJs0xt2
i44jLYwW656sZbV4u7eT3YHV4+ydHYwefVtWMQYwRXHZpKTmZJalFunbJXBl/PhqUXCQs+Lg
6sksDYx9HF2MnBwSAiYSz6dsZIewxSQu3FvP1sXIxSEksIhR4uLlj1BOF5PEkw/TWUGq2AS0
JZa/ecMIYosISEj86r/KCFLELLCEUWLT2S9go4QFXCQ6P29jAbFZBFQljrW3gdm8Aq4Sb5dt
ZIFYpyjR/WwCG4jNCRJveQsU5wDa5iIx5YTABEbeBYwMqxhFUwuSC4qT0nMN9YoTc4tL89L1
kvNzNzGCg+SZ1A7GlQ0WhxgFOBiVeHgDbhwIEmJNLCuuzD3EKMHBrCTCO+crUIg3JbGyKrUo
P76oNCe1+BCjNAeLkjjvgVbrQCGB9MSS1OzU1ILUIpgsEwenVAOjyocFQcqvOjrvu/GJMyre
vbA1hO/+A43wPdmB9y7/PxeW4TDDOKHhfLZofd2HysK1t2Se/jkicFYkb+Iyl907v57mf5S+
+LtGt8sW3pWuGYr2oVN9V2ysCZusKSsx30qw+HPYmt4VzWlPAjVZAwPVZDOE5e4avfp1oy53
5fQVLu8ELsX8DD+rxFKckWioxVxUnAgA+L7bNw4CAAA=
Cc: Jaehoon Chung ,
Piotr Wilczek ,
Kyungmin Park
Subject: [U-Boot] [PATCH V2] board:trats2: fix default partitions and mmc env
X-BeenThere: u-boot@lists.denx.de
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: U-Boot discussion
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
MIME-Version: 1.0
Sender: u-boot-bounces@lists.denx.de
Errors-To: u-boot-bounces@lists.denx.de
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
---
Changes for V2:
- use __stringify for CONFIG_MMC_DEFAULT_DEV stringification
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..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" \