mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge tag 'rockchip-for-v2019.07-rc1' of git://git.denx.de/u-boot-rockchip
Improvements and new features: - split more rockchip pinctrl_core feature into per SoC - enable TPL for evb-rk3399 board - enable TPL/SPL for evb-px5 board - enable TPL and OP-TEE support for evb-rk3229 - update fix in arm common assembly start code for rockchip header file - update default SPL_FIT_GENERATOR for rockchip - rk3399 boards update to use '-u-boot.dtsi' - add new rk3399 boards: Nanopi M4, Nanopc T4 - enable sound for chromebook_minnie
This commit is contained in:
@@ -9,5 +9,6 @@
|
||||
#include <configs/rk3368_common.h>
|
||||
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
#endif
|
||||
|
||||
@@ -8,48 +8,6 @@
|
||||
|
||||
#include <configs/rk322x_common.h>
|
||||
|
||||
|
||||
/* Store env in emmc */
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
#define CONFIG_SYS_MMC_ENV_PART 0
|
||||
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
/* Enable gpt partition table */
|
||||
#undef PARTS_DEFAULT
|
||||
#define PARTS_DEFAULT \
|
||||
"uuid_disk=${uuid_gpt_disk};" \
|
||||
"name=loader_a,start=4M,size=4M,uuid=${uuid_gpt_loader};" \
|
||||
"name=loader_b,size=4M,uuid=${uuid_gpt_reserved};" \
|
||||
"name=trust_a,size=4M,uuid=${uuid_gpt_reserved};" \
|
||||
"name=trust_b,size=4M,uuid=${uuid_gpt_reserved};" \
|
||||
"name=misc,size=4M,uuid=${uuid_gpt_misc};" \
|
||||
"name=metadata,size=16M,uuid=${uuid_gpt_metadata};" \
|
||||
"name=boot_a,size=32M,uuid=${uuid_gpt_boot_a};" \
|
||||
"name=boot_b,size=32M,uuid=${uuid_gpt_boot_b};" \
|
||||
"name=system_a,size=818M,uuid=${uuid_gpt_system_a};" \
|
||||
"name=system_b,size=818M,uuid=${uuid_gpt_system_b};" \
|
||||
"name=vendor_a,size=50M,uuid=${uuid_gpt_vendor_a};" \
|
||||
"name=vendor_b,size=50M,uuid=${uuid_gpt_vendor_b};" \
|
||||
"name=cache,size=100M,uuid=${uuid_gpt_cache};" \
|
||||
"name=persist,size=4M,uuid=${uuid_gpt_persist};" \
|
||||
"name=userdata,size=-,uuid=${uuid_gpt_userdata};\0" \
|
||||
|
||||
#define CONFIG_PREBOOT
|
||||
|
||||
#define CONFIG_SYS_BOOT_RAMDISK_HIGH
|
||||
|
||||
#undef CONFIG_BOOTCOMMAND
|
||||
#define CONFIG_BOOTCOMMAND \
|
||||
"mmc read 0x61000000 0x8000 0x5000;" \
|
||||
"bootm 0x61000000" \
|
||||
|
||||
/* Enable atags */
|
||||
#define CONFIG_SYS_BOOTPARAMS_LEN (64*1024)
|
||||
#define CONFIG_INITRD_TAG
|
||||
#define CONFIG_SETUP_MEMORY_TAGS
|
||||
#define CONFIG_CMDLINE_TAG
|
||||
|
||||
#endif
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
#endif
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
#define CONFIG_SYS_TIMER_BASE 0x110c00a0 /* TIMER5 */
|
||||
#define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMER_BASE + 8)
|
||||
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x60100000
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x60800800
|
||||
#define CONFIG_SPL_STACK 0x10088000
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x61100000
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x61800800
|
||||
#define CONFIG_SPL_MAX_SIZE 0x100000
|
||||
|
||||
#define CONFIG_ROCKCHIP_MAX_INIT_SIZE (28 << 10)
|
||||
#define CONFIG_ROCKCHIP_CHIP_TAG "RK32"
|
||||
|
||||
@@ -27,9 +27,10 @@
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x00300000
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x00280000
|
||||
|
||||
#define CONFIG_SPL_MAX_SIZE 0x40000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x60000
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x400000
|
||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x20000
|
||||
#define CONFIG_SPL_STACK 0x00188000
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
#define ENV_MEM_LAYOUT_SETTINGS \
|
||||
|
||||
@@ -18,11 +18,19 @@
|
||||
|
||||
#define CONFIG_SYS_INIT_SP_ADDR 0x00300000
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x00800800
|
||||
|
||||
#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_TPL_BOOTROM_SUPPORT)
|
||||
#define CONFIG_SPL_STACK 0x00400000
|
||||
#define CONFIG_SPL_MAX_SIZE 0x100000
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x00400000
|
||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x2000
|
||||
#else
|
||||
#define CONFIG_SPL_STACK 0xff8effff
|
||||
#define CONFIG_SPL_MAX_SIZE 0x30000 - 0x2000
|
||||
/* BSS setup */
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0xff8e0000
|
||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x10000
|
||||
#endif
|
||||
|
||||
#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user