From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiangfu Liu Date: Fri, 04 Jan 2013 21:26:18 +0800 Subject: [U-Boot] [PATCH v7] qi_lb60: add nand spl support In-Reply-To: <1351557705.31866.16@snotra> References: <1351300067-10182-1-git-send-email-xiangfu@openmobilefree.net> <1351300067-10182-2-git-send-email-xiangfu@openmobilefree.net> <1351557705.31866.16@snotra> Message-ID: <50E6D87A.50309@openmobilefree.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Any chance merge this commit to upstream. make it a new year gift for me. :) Thanks Xiangfu On 10/30/2012 08:41 AM, Scott Wood wrote: > On 10/26/2012 08:07:47 PM, xiangfu at openmobilefree.net wrote: >> From: Xiangfu >> >> The JZ4740 CPU can load 8KB from two different addresses: >> 1. the normal area up to 8KB starting from NAND flash address 0x00000000 >> 2. the backup area up to 8KB starting from NAND flash address 0x00002000 >> >> Signed-off-by: Xiangfu >> --- >> Makefile | 12 +++ >> arch/mips/cpu/xburst/Makefile | 7 +- >> arch/mips/cpu/xburst/cpu.c | 4 + >> arch/mips/cpu/xburst/jz4740.c | 82 +++++++---------- >> arch/mips/cpu/xburst/spl/Makefile | 47 ++++++++++ >> arch/mips/cpu/xburst/spl/start.S | 63 +++++++++++++ >> board/qi/qi_lb60/Makefile | 4 + >> board/qi/qi_lb60/qi_lb60-spl.c | 30 +++++++ >> board/qi/qi_lb60/qi_lb60.c | 8 +- >> board/qi/qi_lb60/u-boot-spl.lds | 61 +++++++++++++ >> drivers/mtd/nand/jz4740_nand.c | 39 ++++++++- >> include/configs/qi_lb60.h | 175 ++++++++++++++++++------------------- >> 12 files changed, 386 insertions(+), 146 deletions(-) >> create mode 100644 arch/mips/cpu/xburst/spl/Makefile >> create mode 100644 arch/mips/cpu/xburst/spl/start.S >> create mode 100644 board/qi/qi_lb60/qi_lb60-spl.c >> create mode 100644 board/qi/qi_lb60/u-boot-spl.lds > > For the drivers/mtd/nand part: > Acked-by: Scott Wood > > -Scott