[U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization

Nathan Rossi nathan at nathanrossi.com
Sun Dec 11 14:58:31 CET 2016


This series adds two functions for handling the memory bank decoding and
initialization of global data for use by boards in their dram_init and
dram_init_banksize functions.

The series also changes the zynq and zynqmp board implementations to use
these functions to resolve a issue with static variable use.

Nathan Rossi (3):
  fdt: add memory bank decoding functions for board setup
  ARM: zynq: Replace board specific with generic memory bank decoding
  ARM64: zynqmp: Replace board specific with generic memory bank
    decoding

 board/xilinx/zynq/board.c    | 112 ++-----------------------------------------
 board/xilinx/zynqmp/zynqmp.c | 112 ++-----------------------------------------
 include/fdtdec.h             |  25 ++++++++++
 lib/fdtdec.c                 |  54 +++++++++++++++++++++
 4 files changed, 85 insertions(+), 218 deletions(-)

-- 
2.10.2


More information about the U-Boot mailing list