From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Mon, 29 Oct 2012 19:41:45 -0500 Subject: [U-Boot] [PATCH v7] qi_lb60: add nand spl support In-Reply-To: <1351300067-10182-2-git-send-email-xiangfu@openmobilefree.net> (from xiangfu@openmobilefree.net on Fri Oct 26 20:07:47 2012) References: <1351300067-10182-1-git-send-email-xiangfu@openmobilefree.net> <1351300067-10182-2-git-send-email-xiangfu@openmobilefree.net> Message-ID: <1351557705.31866.16@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 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