[PATCH 1/6] ARM: boards: kontron-samx6i: fix memory detection helper

Sascha Hauer sha at pengutronix.de
Tue Jan 19 05:01:33 EST 2021


On Mon, Jan 18, 2021 at 09:29:17PM +0100, Marco Felsch wrote:
> According the vendor u-boot version [1] the version pin is not involved
> in the memory size detection algorithm. So drop the usage here.
> 
> Also fix the id0 gpio request. Instead of requesting GPIO6_6 we need to
> request GPIO6_7.
> 
> Last we need to fix the size for the solo/duallite modules. Those
> modules are populated with at least 256M of RAM according [1].
> 
> I fixed also the alignment while on it.
> 
> [1] https://github.com/kontron/u-boot-smarc-samx7/blob/master/board/kontron/amx6/amx6.c
> 
> Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
> ---
>  arch/arm/boards/kontron-samx6i/mem.c | 24 ++++++------------------
>  1 file changed, 6 insertions(+), 18 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list