* [U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box
@ 2012-10-02 19:22 Otavio Salvador
2012-10-02 19:51 ` Fabio Estevam
2012-10-10 12:03 ` Stefano Babic
0 siblings, 2 replies; 3+ messages in thread
From: Otavio Salvador @ 2012-10-02 19:22 UTC (permalink / raw)
To: u-boot
The mmcroot setting vary between mx6qsabreauto and mx6qsabresd so we
move this to the board configuration file.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
include/configs/mx6qsabre_common.h | 2 +-
include/configs/mx6qsabreauto.h | 3 ++-
include/configs/mx6qsabresd.h | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/configs/mx6qsabre_common.h b/include/configs/mx6qsabre_common.h
index 247e8d6..e25e943 100644
--- a/include/configs/mx6qsabre_common.h
+++ b/include/configs/mx6qsabre_common.h
@@ -86,7 +86,7 @@
"initrd_high=0xffffffff\0" \
"mmcdev=0\0" \
"mmcpart=1\0" \
- "mmcroot=/dev/mmcblk1p2 rootwait rw\0" \
+ "mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
"mmcargs=setenv bootargs console=${console},${baudrate} " \
"root=${mmcroot}\0" \
"loadbootscript=" \
diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
index a878dec..760f3ce 100644
--- a/include/configs/mx6qsabreauto.h
+++ b/include/configs/mx6qsabreauto.h
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2012 Freescale Semiconductor, Inc.
*
- * Configuration settings for the Freescale i.MX6Q SabreSD board.
+ * Configuration settings for the Freescale i.MX6Q SabreAuto board.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
@@ -15,6 +15,7 @@
#define CONFIG_MACH_TYPE 3529
#define CONFIG_MXC_UART_BASE UART4_BASE
#define CONFIG_CONSOLE_DEV "ttymxc3"
+#define CONFIG_MMCROOT "/dev/mmcblk0p2"
#define PHYS_SDRAM_SIZE (2u * 1024 * 1024 * 1024)
#include "mx6qsabre_common.h"
diff --git a/include/configs/mx6qsabresd.h b/include/configs/mx6qsabresd.h
index f2ce79e..771d129 100644
--- a/include/configs/mx6qsabresd.h
+++ b/include/configs/mx6qsabresd.h
@@ -20,6 +20,7 @@
#define CONFIG_MACH_TYPE 3980
#define CONFIG_MXC_UART_BASE UART1_BASE
#define CONFIG_CONSOLE_DEV "ttymxc0"
+#define CONFIG_MMCROOT "/dev/mmcblk1p2"
#define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024)
#include "mx6qsabre_common.h"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* [U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box
2012-10-02 19:22 [U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box Otavio Salvador
@ 2012-10-02 19:51 ` Fabio Estevam
2012-10-10 12:03 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2012-10-02 19:51 UTC (permalink / raw)
To: u-boot
On Tue, Oct 2, 2012 at 4:22 PM, Otavio Salvador <otavio@ossystems.com.br> wrote:
> The mmcroot setting vary between mx6qsabreauto and mx6qsabresd so we
> move this to the board configuration file.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box
2012-10-02 19:22 [U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box Otavio Salvador
2012-10-02 19:51 ` Fabio Estevam
@ 2012-10-10 12:03 ` Stefano Babic
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Babic @ 2012-10-10 12:03 UTC (permalink / raw)
To: u-boot
On 02/10/2012 21:22, Otavio Salvador wrote:
> The mmcroot setting vary between mx6qsabreauto and mx6qsabresd so we
> move this to the board configuration file.
>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-10 12:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 19:22 [U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box Otavio Salvador
2012-10-02 19:51 ` Fabio Estevam
2012-10-10 12:03 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox