pfla02: Fix RAM detection and support 1 bank SOM
authorStefano Babic <sbabic@denx.de>
Fri, 25 Aug 2017 11:02:53 +0000 (13:02 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 29 Aug 2017 07:46:32 +0000 (09:46 +0200)
commitcb40adff8fd5335c0f623562c57bf8505c32b16f
tree33b16658e0ffb4931fa4eaea2629a19677774b23
parent3aa4b703b483f165dd2eb5c3324b44b60fbb1672
pfla02: Fix RAM detection and support 1 bank SOM

In case of 2 banks, the address space of the first CS must be defined
and not let to the higher value.

Add support for SOM with a single bank of RAM. It was tested with i.MX6Q
modules in the following configurations:

- 2 Banks, 4 GB
- 2 Banks, 1 GB
- 1 Bank,  1 GB

Signed-off-by: Stefano Babic <sbabic@denx.de>
board/phytec/pfla02/Kconfig
board/phytec/pfla02/pfla02.c