rockchip: rk3128: add firmware load address for small ram board

- Since avb use sysmem alloc, we can decrease malloc size;
- The typical request is 128M ram board;

Note: trust.img should be placed in low memory address.

Change-Id: Iba6564710b130d26fdf6b4edfd013b1352216250
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This commit is contained in:
Joseph Chen 2019-05-14 19:43:58 +08:00 committed by Jianhong Chen
parent 4dfe920a3a
commit cd2acdbee7
1 changed files with 9 additions and 1 deletions

View File

@ -11,7 +11,7 @@
#define CONFIG_SYS_MAXARGS 16
#define CONFIG_BAUDRATE 115200
#define CONFIG_SYS_MALLOC_LEN (192 << 20)
#define CONFIG_SYS_MALLOC_LEN (32 << 20)
#define CONFIG_SYS_CBSIZE 1024
#define CONFIG_SKIP_LOWLEVEL_INIT
@ -52,6 +52,13 @@
/* usb mass storage */
#define CONFIG_USB_FUNCTION_MASS_STORAGE
#define ENV_MEM_LAYOUT_SETTINGS1 \
"scriptaddr1=0x60500000\0" \
"pxefile_addr1_r=0x60600000\0" \
"fdt_addr1_r=0x61700000\0" \
"kernel_addr1_r=0x62008000\0" \
"ramdisk_addr1_r=0x63000000\0"
#define ENV_MEM_LAYOUT_SETTINGS \
"scriptaddr=0x60500000\0" \
"pxefile_addr_r=0x60600000\0" \
@ -62,6 +69,7 @@
#include <config_distro_bootcmd.h>
#define CONFIG_EXTRA_ENV_SETTINGS \
ENV_MEM_LAYOUT_SETTINGS \
ENV_MEM_LAYOUT_SETTINGS1 \
"partitions=" PARTS_DEFAULT \
ROCKCHIP_DEVICE_SETTINGS \
RKIMG_DET_BOOTDEV \