From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Thu, 17 Sep 2015 15:16:24 -0500 Subject: [U-Boot] [Patch v2 11/16] armv8/ls1043ardb: Add nand boot support In-Reply-To: <1442473613-17374-8-git-send-email-Qianyu.Gong@freescale.com> References: <1442473613-17374-1-git-send-email-Qianyu.Gong@freescale.com> <1442473613-17374-8-git-send-email-Qianyu.Gong@freescale.com> Message-ID: <1442520984.19102.66.camel@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2015-09-17 at 15:06 +0800, Gong Qianyu wrote: > > > +/* NAND SPL */ > +#ifdef CONFIG_NAND_BOOT > +#define CONFIG_SPL_PBL_PAD > +#define CONFIG_SPL_FRAMEWORK > +#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv8/u-boot-spl.lds" > +#define CONFIG_SPL_TARGET "u-boot-with-spl.bin" > +#define CONFIG_SPL_LIBCOMMON_SUPPORT > +#define CONFIG_SPL_LIBGENERIC_SUPPORT > +#define CONFIG_SPL_ENV_SUPPORT > +#define CONFIG_SPL_WATCHDOG_SUPPORT > +#define CONFIG_SPL_I2C_SUPPORT > +#define CONFIG_SPL_SERIAL_SUPPORT > +#define CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT > +#define CONFIG_SPL_NAND_SUPPORT > +#define CONFIG_SPL_DRIVERS_MISC_SUPPORT > +#define CONFIG_SPL_TEXT_BASE 0x10000000 > +#define CONFIG_SPL_MAX_SIZE 0x1a000 > +#define CONFIG_SPL_STACK 0x1001d000 > +#define CONFIG_SPL_PAD_TO 0x1c000 > +#define CONFIG_SYS_NAND_U_BOOT_OFFS CONFIG_SPL_PAD_TO > +#define CONFIG_SYS_NAND_U_BOOT_SIZE (640 << 10) You made the U-Boot size be block aligned (assuming 128k block size, which the SoC common file should not do), but its offset is not. -Scott