Re: [PATCH 1/2] board: stemmy: Parse atags to get available memory

2021-07-14 Thread Tom Rini
On Wed, Jul 07, 2021 at 12:58:54PM +0200, Stephan Gerhold wrote: > At the moment the "stemmy" board attempts to detect the RAM size with > a simple memory test (get_ram_size()). Unfortunately, this does not work > correctly for devices with 768 MiB RAM (e.g. Samsung Galaxy Ace 2 > (GT-I8160),

Re: [PATCH 1/2] board: stemmy: Parse atags to get available memory

2021-07-07 Thread Linus Walleij
On Wed, Jul 7, 2021 at 12:59 PM Stephan Gerhold wrote: > At the moment the "stemmy" board attempts to detect the RAM size with > a simple memory test (get_ram_size()). Unfortunately, this does not work > correctly for devices with 768 MiB RAM (e.g. Samsung Galaxy Ace 2 > (GT-I8160), "codina").

[PATCH 1/2] board: stemmy: Parse atags to get available memory

2021-07-07 Thread Stephan Gerhold
At the moment the "stemmy" board attempts to detect the RAM size with a simple memory test (get_ram_size()). Unfortunately, this does not work correctly for devices with 768 MiB RAM (e.g. Samsung Galaxy Ace 2 (GT-I8160), "codina"). Reading/writing memory after the 768 MiB RAM succeeds but actually