From patchwork Fri Feb 3 15:14:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Niebel X-Patchwork-Id: 723716 X-Patchwork-Delegate: sbabic@denx.de 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 3vFL5T1hM2z9s75 for ; Sat, 4 Feb 2017 02:15:09 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CDC01A76F0; Fri, 3 Feb 2017 16:15:07 +0100 (CET) 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 gHW2EJxbyzaL; Fri, 3 Feb 2017 16:15:07 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 44210A76E9; Fri, 3 Feb 2017 16:15:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5E46FA76EB for ; Fri, 3 Feb 2017 16:15:02 +0100 (CET) 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 nLWa0U9ZecV9 for ; Fri, 3 Feb 2017 16:15:02 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.102]) by theia.denx.de (Postfix) with ESMTPS id 1E3C74AE45 for ; Fri, 3 Feb 2017 16:14:58 +0100 (CET) Received: from [82.210.228.12] (helo=mailtqsc.tqsc.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1cZfYt-0004q2-Qb; Fri, 03 Feb 2017 16:14:07 +0100 Received: from niebel-ws.tq-net.de ([10.20.228.2]) by mailtqsc.tqsc.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from ) id 1cZfYs-0007qh-Vl; Fri, 03 Feb 2017 16:14:07 +0100 From: Markus Niebel To: u-boot@lists.denx.de Date: Fri, 3 Feb 2017 16:14:01 +0100 Message-Id: <1486134843-6383-5-git-send-email-niebelm@tqsc.de> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486134843-6383-1-git-send-email-niebelm@tqsc.de> References: <1486134843-6383-1-git-send-email-niebelm@tqsc.de> X-Df-Sender: MTQ1NzgzNQ== Cc: Markus Niebel Subject: [U-Boot] [PATCH 4/6] mx6: tqma6: add rootfsmode environment for mmc / sd X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Markus Niebel Signed-off-by: Markus Niebel --- include/configs/tqma6.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h index 874b44b..311221d 100644 --- a/include/configs/tqma6.h +++ b/include/configs/tqma6.h @@ -295,6 +295,7 @@ "cma_size="__stringify(TQMA6_CMA_SIZE)"\0" \ "fdt_high=0xffffffff\0" \ "initrd_high=0xffffffff\0" \ + "rootfsmode=ro\0" \ "addcma=setenv bootargs ${bootargs} cma=${cma_size}\0" \ "addtty=setenv bootargs ${bootargs} console=${console},${baudrate}\0" \ "addfb=setenv bootargs ${bootargs} " \ @@ -303,7 +304,8 @@ "mmcblkdev=0\0" \ "mmcargs=run addmmc addtty addfb addcma\0" \ "addmmc=setenv bootargs ${bootargs} " \ - "root=/dev/mmcblk${mmcblkdev}p${mmcpart} rw rootwait\0" \ + "root=/dev/mmcblk${mmcblkdev}p${mmcpart} ${rootfsmode} " \ + "rootwait\0" \ "mmcboot=echo Booting from mmc ...; " \ "setenv bootargs; " \ "run mmcargs; " \