mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-13 16:14:20 +00:00
uniphier: increase BL33 max size and GZIP temporary buffer size
The current BL33 size is large enough for U-Boot, but we need to increase the limit to use other boot loaders such as edk2. Increase the buffer size used for GZIP decompression too. BL33 max size (UNIPHIER_BL33_MAX_SIZE): 1MB -> 8MB GZIP buffer (UNIPHIER_IMAGE_BUF_SIZE): 1MB -> 8MB Increasing the block buffer size (UNIPHIER_BLOCK_BUF_SIZE) is not required, but I increased it too to make it work more efficiently. Change-Id: I4fa6d795bed9ab9ada7f8f616c7d47076139e3a8 Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
edd8188d32
commit
39784f2af5
3 changed files with 6 additions and 6 deletions
|
@ -21,8 +21,8 @@
|
|||
|
||||
#include "uniphier.h"
|
||||
|
||||
#define UNIPHIER_IMAGE_BUF_OFFSET 0x04300000UL
|
||||
#define UNIPHIER_IMAGE_BUF_SIZE 0x00100000UL
|
||||
#define UNIPHIER_IMAGE_BUF_OFFSET 0x03800000UL
|
||||
#define UNIPHIER_IMAGE_BUF_SIZE 0x00800000UL
|
||||
|
||||
static uintptr_t uniphier_mem_base = UNIPHIER_MEM_BASE;
|
||||
static unsigned int uniphier_soc = UNIPHIER_SOC_UNKNOWN;
|
||||
|
|
|
@ -14,9 +14,9 @@
|
|||
#include "uniphier.h"
|
||||
|
||||
#define UNIPHIER_BL33_OFFSET 0x04000000UL
|
||||
#define UNIPHIER_BL33_MAX_SIZE 0x00100000UL
|
||||
#define UNIPHIER_BL33_MAX_SIZE 0x00800000UL
|
||||
|
||||
#define UNIPHIER_SCP_OFFSET 0x04100000UL
|
||||
#define UNIPHIER_SCP_OFFSET 0x04800000UL
|
||||
#define UNIPHIER_SCP_MAX_SIZE 0x00020000UL
|
||||
|
||||
static struct bl_mem_params_node uniphier_image_descs[] = {
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
#define UNIPHIER_OCM_REGION_SIZE 0x00040000ULL
|
||||
|
||||
#define UNIPHIER_BLOCK_BUF_OFFSET 0x04200000UL
|
||||
#define UNIPHIER_BLOCK_BUF_SIZE 0x00100000UL
|
||||
#define UNIPHIER_BLOCK_BUF_OFFSET 0x03000000UL
|
||||
#define UNIPHIER_BLOCK_BUF_SIZE 0x00800000UL
|
||||
|
||||
static const io_dev_connector_t *uniphier_fip_dev_con;
|
||||
static uintptr_t uniphier_fip_dev_handle;
|
||||
|
|
Loading…
Add table
Reference in a new issue