Skip to content

Commit

Permalink
plat-rzn1: increase DDR size to 1GB
Browse files Browse the repository at this point in the history
There are now some RZ/N1 devices with 1GB rather than 256MB. The
first-stage bootloader does not support passing a DT to OP-TEE, so
static values are set at compile time. Increase the DDR size so as to
avoid OP-TEE calls failing with TEEC_ERROR_OUT_OF_MEMORY.

Signed-off-by: Ralph Siemsen <[email protected]>
Reviewed-by: Sumit Garg <[email protected]>
  • Loading branch information
rfs613 authored and jforissier committed May 17, 2023
1 parent fb9d0fd commit 2651558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/arch/arm/plat-rzn1/platform_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/* DRAM */
#define DRAM_BASE 0x80000000
#define DRAM_SIZE 0x10000000
#define DRAM_SIZE 0x40000000 /* 1GB, and support 256MB */

/* GIC */
#define GIC_BASE 0x44100000
Expand Down

0 comments on commit 2651558

Please sign in to comment.