From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sat, 03 Mar 2012 11:28:18 +0100 Subject: [U-Boot] [PATCH 2/3] i.MX6: mx6qsabrelite: add MACH_TYPE_MX6Q_SABRELITE In-Reply-To: <1330728909-12203-3-git-send-email-eric.nelson@boundarydevices.com> References: <1330728909-12203-1-git-send-email-eric.nelson@boundarydevices.com> <1330728909-12203-3-git-send-email-eric.nelson@boundarydevices.com> Message-ID: <4F51F242.3030407@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/03/2012 23:55, Eric Nelson wrote: > Allow non-dt kernels to boot > > Signed-off-by: Troy Kisky > --- > board/freescale/mx6qsabrelite/mx6qsabrelite.c | 6 ++++-- > include/configs/mx6qsabrelite.h | 1 + > 2 files changed, 5 insertions(+), 2 deletions(-) > > diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c > index 590030b..2786482 100644 > --- a/board/freescale/mx6qsabrelite/mx6qsabrelite.c > +++ b/board/freescale/mx6qsabrelite/mx6qsabrelite.c > @@ -282,8 +282,10 @@ int board_early_init_f(void) > > int board_init(void) > { > - /* address of boot parameters */ > - gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; > + /* board id for linux */ > + gd->bd->bi_arch_number = MACH_TYPE_MX6Q_SABRELITE; You do not needed. This is done in common code. Add only CONFIG_MACH_TYPE in mx6qsabrelite.h 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-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================