From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 22 Apr 2013 17:57:03 -0500 Subject: [U-Boot] [PATCH V2 2/6] nand: Add SPL_NAND support to mxc_nand_spl In-Reply-To: <1366559547-9063-2-git-send-email-marex@denx.de> (from marex@denx.de on Sun Apr 21 10:52:23 2013) References: <1366559547-9063-1-git-send-email-marex@denx.de> <1366559547-9063-2-git-send-email-marex@denx.de> Message-ID: <1366671423.10399.8@snotra> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/21/2013 10:52:23 AM, Marek Vasut wrote: > Add support for generic NAND SPL via the SPL framework into the > mxc_nand_spl driver. This is basically just a simple rename and > publication of the already implemented functions. To avoid the > bare-bones functions getting in the way of the NAND_SPL, build > them only if CONFIG_SPL_FRAMEWORK is not defined. > > Also make sure the requested payload is aligned to full pages, > otherwise this simple driver fails to load the last page. > > Signed-off-by: Marek Vasut > Cc: Albert ARIBAUD > Cc: Beno?t Th?baudeau > Cc: Fabio Estevam > Cc: Scott Wood > Cc: Stefano Babic > Cc: Tom Rini > --- > drivers/mtd/nand/mxc_nand_spl.c | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > V2: Check CONFIG_SPL_FRAMEWORK instead to test if we're building > with NAND_SPL or really bare-bones SPL. Acked-by: Scott Wood -Scott