[U-Boot] [PATCHv2 00/20] Add SPL support for SoCFPGA
dinguyen at opensource.altera.com
dinguyen at opensource.altera.com
Mon Mar 2 17:27:48 CET 2015
From: Dinh Nguyen <dinguyen at opensource.altera.com>
Hello,
This is v2 of the patchset that adds all the SPL code that is necessary to
support the SoCFPGA platform. For v2, here are the changes:
- SDRAM - further clean and addressing all comments. Simplified to only support
DDR3, FULLRATE, and Hard PHY.
- SDRAM - Moved to drivers/ddr/altera
- Move extra code that maps SDRAM to 0x0 in board_init_f
I have pushed a branch to git://git.rocketboards.org/u-boot-socfpga-next.git
socfpga_for_next_spl_v2 for testing and reviewing.
Rebased to 2015.04-rc2.
Thanks,
Dinh Nguyen (20):
arm: socfpga: spl: Add main sdram code
arm: socfpga: spl: Add SRAM section
arm: socfpga: spl: put SPL in sram
arm: socfpga: add functions to bring sdram, timer, and uart out of
reset
arm: socfpga: spl: enable sdram, timer and uart
arm: socfpga: spl: Add call to timer_init
arm: socfpga: spl: allow bootrom to enable IOs after warm reset
arm: socfpga: spl: add sdram init and calibration
arm: socfpga: spl: printout sdram size
arm: socfpga: spl: Use common lowlevel_init
arm: socfpga: spl: Add s_init
arm: socfpga: spl: add the stack in OCRAM
arm: socfpga: spl: add CONFIG_SPL_STACK to socfpga_common.h
arm: socfpga: add sdram stack to SPL
arm: socfpga: spl: adjust SPL_MALLOC_SIZE to 256
arm: socfpga: spl: add a malloc section in sram
arm: socfpga: spl: Add SDRAM check
arm: socfpga: spl: add board_init_f to SPL
arm: socfpga: spl: update pll_config for dev kit
arm: socfpga: remove the need to map sdram in arch_early_init
Makefile | 1 +
arch/arm/cpu/armv7/Makefile | 2 +-
arch/arm/cpu/armv7/socfpga/Makefile | 4 +-
arch/arm/cpu/armv7/socfpga/lowlevel_init.S | 4 -
arch/arm/cpu/armv7/socfpga/misc.c | 3 -
arch/arm/cpu/armv7/socfpga/reset_manager.c | 24 +
arch/arm/cpu/armv7/socfpga/s_init.c | 37 +
arch/arm/cpu/armv7/socfpga/spl.c | 47 +
arch/arm/cpu/armv7/socfpga/system_manager.c | 9 +
arch/arm/cpu/armv7/socfpga/u-boot-spl.lds | 29 +-
arch/arm/include/asm/arch-socfpga/reset_manager.h | 6 +
arch/arm/include/asm/arch-socfpga/sdram.h | 434 +++
arch/arm/include/asm/arch-socfpga/sdram_config.h | 100 +
arch/arm/include/asm/arch-socfpga/system_manager.h | 1 +
board/altera/socfpga/pll_config.h | 8 +-
drivers/ddr/altera/Makefile | 12 +
drivers/ddr/altera/sdram.c | 1307 +++++++
drivers/ddr/altera/sequencer.c | 3972 ++++++++++++++++++++
drivers/ddr/altera/sequencer.h | 359 ++
drivers/ddr/altera/sequencer_auto.h | 216 ++
drivers/ddr/altera/sequencer_auto_ac_init.c | 85 +
drivers/ddr/altera/sequencer_auto_inst_init.c | 270 ++
drivers/ddr/altera/sequencer_defines.h | 121 +
include/configs/socfpga_common.h | 11 +-
include/configs/socfpga_cyclone5.h | 1 +
scripts/Makefile.spl | 1 +
26 files changed, 7046 insertions(+), 18 deletions(-)
create mode 100644 arch/arm/cpu/armv7/socfpga/s_init.c
create mode 100644 arch/arm/include/asm/arch-socfpga/sdram.h
create mode 100644 arch/arm/include/asm/arch-socfpga/sdram_config.h
create mode 100644 drivers/ddr/altera/Makefile
create mode 100644 drivers/ddr/altera/sdram.c
create mode 100644 drivers/ddr/altera/sequencer.c
create mode 100644 drivers/ddr/altera/sequencer.h
create mode 100644 drivers/ddr/altera/sequencer_auto.h
create mode 100644 drivers/ddr/altera/sequencer_auto_ac_init.c
create mode 100644 drivers/ddr/altera/sequencer_auto_inst_init.c
create mode 100644 drivers/ddr/altera/sequencer_defines.h
--
2.2.1
More information about the U-Boot
mailing list