Nathan Rossi 950f86ca38 ARM64: zynqmp: Replace board specific with generic memory bank decoding
The dram_init and dram_init_banksize functions were using a board
specific implementation for decoding the memory banks from the fdt. This
board specific implementation uses a static variable 'tmp' which makes
these functions unsafe for execution from within the board_init_f
context.

This change makes the dram_init* functions use a generic implementation
of decoding and populating memory bank and size data.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Fixes: 8d59d7f63b ("ARM64: zynqmp: Read RAM information from DT")
Cc: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2016-12-20 09:15:28 +01:00
..
2016-10-12 08:20:17 -04:00
2016-05-02 18:37:09 -04:00
2016-02-06 12:00:59 +01:00
2016-10-28 18:37:13 +02:00
2016-02-06 12:00:59 +01:00
2016-06-27 21:12:05 -04:00
2016-06-24 17:24:40 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2015-11-12 17:38:08 +01:00
2016-06-17 09:51:01 -04:00
2016-02-06 12:00:59 +01:00
2016-09-27 23:30:27 +02:00
2016-07-22 14:46:00 -04:00
2016-02-06 12:00:59 +01:00
2016-11-13 15:54:34 -05:00
2016-09-27 23:30:27 +02:00
2016-02-20 21:40:02 +01:00
2016-12-04 13:55:00 -05:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-10-31 10:13:16 -04:00
2016-09-07 08:48:58 -04:00
2016-12-16 10:21:29 +01:00
2016-03-27 09:13:01 -04:00