[U-Boot] [PATCH 0/3] Add generic FDT memory bank decoding and gd initialization
Igor Grinberg
grinberg at compulab.co.il
Sun Dec 11 16:08:10 CET 2016
Hi Nathan,
On 12/11/16 15:58, Nathan Rossi wrote:
> 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.
I might have missed some discussions on this meter,
can you please provide the use cases for this?
IMO, the bootloader's job is to initialize the DRAM, detect its size, and pass
the detected DRAM configuration on to an OS.
>
> 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(-)
>
--
Regards,
Igor.
More information about the U-Boot
mailing list