[U-Boot] [PATCH v7] qi_lb60: add nand spl support

Scott Wood scottwood at freescale.com
Tue Oct 30 01:41:45 CET 2012


On 10/26/2012 08:07:47 PM, xiangfu at openmobilefree.net wrote:
> From: Xiangfu <xiangfu at openmobilefree.net>
> 
>   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 <xiangfu at openmobilefree.net>
> ---
>  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 <scottwood at freescale.com>

-Scott


More information about the U-Boot mailing list