[PATCH 1/1] sandbox: make RAM size configurable

Simon Glass sjg at chromium.org
Mon Jul 6 03:37:43 CEST 2020


On Sun, 7 Jun 2020 at 10:47, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Up to now the RAM size of the sandbox is hard coded as 128 MiB. This does
> not allow testing the correct handling of addresses outside the 32bit
> range. 128 MiB is also rather small when tracing functions where the trace
> is written to RAM.
>
> Provide configuration variable CONFIG_SANDBOX_RAM_SIZE_MB to set the RAM
> size in MiB. It defaults to 128 MiB with a minimum of 64 MiB.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  arch/sandbox/Kconfig             | 10 ++++++++++
>  arch/sandbox/include/asm/state.h |  2 +-
>  include/configs/sandbox.h        |  5 ++++-
>  3 files changed, 15 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list