[U-Boot] [PATCH v2 00/10] RISC-V AX25-AE350 support SPL

Andes uboot at andestech.com
Thu Nov 14 05:52:20 UTC 2019


From: Rick Chen <rick at andestech.com>

This series add support for SPL to AX25-AE350.

U-Boot SPL can boot from RAM or ROM and jump to
OPenSbi(FW_DYNAMIC firmware) and U-Boot proper from
RAM or MMC devices.

Also fix some bugs of andes plic driver and improve cache
configurations for SPL.

Changes in v2:
- Remove SYS_NS16550.
- Use CONFIG_IS_ENABLED(RISCV_MMODE).
- Add ALIGN(8) in ld for RV64.
- Add new [PATCH v2 09/10] riscv: dts: Add #address-cells and #size-cells in nor node.
- Add new [PATCH v2 10/10] doc: update AX25-AE350 RISC-V documentation.

Rick Chen (10):
  riscv: ax25: add SPL support
  riscv: ax25-ae350: add SPL configuration
  riscv: ax25-ae350: Use generic memory size setup
  riscv: andes_plic: Fix some wrong configurations
  riscv: ax25: cache: Add SPL_RISCV_MMODE for SPL
  spl: cache: Allow cache drivers in SPL
  riscv: Fix clear bss loop in the start-up code
  riscv: dts: Support four cores SMP
  riscv: dts: Add #address-cells and #size-cells in nor node
  doc: update AX25-AE350 RISC-V documentation

 arch/riscv/cpu/ax25/Kconfig             |   4 +-
 arch/riscv/cpu/ax25/cache.c             |  60 ++++++---
 arch/riscv/cpu/start.S                  |   4 +-
 arch/riscv/cpu/u-boot-spl.lds           |   2 +-
 arch/riscv/cpu/u-boot.lds               |   2 +-
 arch/riscv/dts/ae350_32.dts             |  61 +++++++++-
 arch/riscv/dts/ae350_64.dts             |  61 +++++++++-
 arch/riscv/lib/andes_plic.c             |  11 +-
 board/AndesTech/ax25-ae350/Kconfig      |   9 ++
 board/AndesTech/ax25-ae350/MAINTAINERS  |   4 +
 board/AndesTech/ax25-ae350/ax25-ae350.c |  48 +++++---
 common/spl/Kconfig                      |   7 ++
 configs/ae350_rv32_spl_defconfig        |  37 ++++++
 configs/ae350_rv32_spl_xip_defconfig    |  39 ++++++
 configs/ae350_rv64_spl_defconfig        |  38 ++++++
 configs/ae350_rv64_spl_xip_defconfig    |  40 ++++++
 doc/board/AndesTech/ax25-ae350.rst      | 209 +++++++++++++++++++++++++++++++-
 drivers/Makefile                        |   1 +
 include/configs/ax25-ae350.h            |  17 +++
 19 files changed, 601 insertions(+), 53 deletions(-)
 create mode 100644 configs/ae350_rv32_spl_defconfig
 create mode 100644 configs/ae350_rv32_spl_xip_defconfig
 create mode 100644 configs/ae350_rv64_spl_defconfig
 create mode 100644 configs/ae350_rv64_spl_xip_defconfig

-- 
2.7.4



More information about the U-Boot mailing list