From 5b7252424684e424647ae67f92bd6ebdd2458923 Mon Sep 17 00:00:00 2001 From: Zhuoyu Zhang Date: Tue, 24 Mar 2015 17:27:37 +0800 Subject: armv7/ls1021a: Reserve secure code into RAM instead of OCRAM For ls1021a, Reserve secure code in to memory in case OCRAM is needed by other usage. Signed-off-by: Zhuoyu Zhang Acked-by: Alison Wang Reviewed-by: York Sun --- include/configs/ls1021atwr.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/configs/ls1021atwr.h') diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index cf2aaa3651..f6f2e5ed5b 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -404,7 +404,6 @@ #define CONFIG_LS102XA_NS_ACCESS #define CONFIG_SMP_PEN_ADDR 0x01ee0200 #define CONFIG_TIMER_CLK_FREQ 12500000 -#define CONFIG_ARMV7_SECURE_BASE OCRAM_BASE_S_ADDR #define CONFIG_HWCONFIG #define HWCONFIG_BUFFER_SIZE 128 -- cgit From 562583deb3ff6cac0833c91c7cc0c24f0d7e0413 Mon Sep 17 00:00:00 2001 From: gaurav rana Date: Tue, 12 May 2015 12:25:01 +0530 Subject: armv7/lS1021atwr: Enable bootscript for secure boot Enable bootscript support in secure boot for establishing chain of trust on LS1021atwr. Signed-off-by: Gaurav Rana Reviewed-by: York Sun --- include/configs/ls1021atwr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/ls1021atwr.h') diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index f6f2e5ed5b..a277a2dfc6 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -498,6 +498,7 @@ #ifdef CONFIG_SECURE_BOOT #define CONFIG_CMD_BLOB +#include #endif #endif -- cgit From 99e1bd4241262440dce8950ccadb9d8588b0479b Mon Sep 17 00:00:00 2001 From: Tang Yuantian Date: Thu, 14 May 2015 17:20:28 +0800 Subject: armv7/ls1021atwr: added deep sleep support in uboot Signed-off-by: Tang Yuantian Acked-by: Alison Wang Reviewed-by: York Sun --- include/configs/ls1021atwr.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include/configs/ls1021atwr.h') diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h index a277a2dfc6..df7af3c82c 100644 --- a/include/configs/ls1021atwr.h +++ b/include/configs/ls1021atwr.h @@ -18,6 +18,10 @@ #define CONFIG_SKIP_LOWLEVEL_INIT #define CONFIG_BOARD_EARLY_INIT_F +#define CONFIG_DEEP_SLEEP +#ifdef CONFIG_DEEP_SLEEP +#define CONFIG_SILENT_CONSOLE +#endif /* * Size of malloc() pool @@ -95,6 +99,10 @@ #define DDR_DDR_ZQ_CNTL 0x89080600 #define DDR_CS0_CONFIG_2 0 #define DDR_SDRAM_CFG_MEM_EN 0x80000000 +#define SDRAM_CFG2_D_INIT 0x00000010 +#define DDR_CDR2_VREF_TRAIN_EN 0x00000080 +#define SDRAM_CFG2_FRC_SR 0x80000000 +#define SDRAM_CFG_BI 0x00000001 #ifdef CONFIG_RAMBOOT_PBL #define CONFIG_SYS_FSL_PBL_PBI board/freescale/ls1021atwr/ls102xa_pbi.cfg @@ -121,7 +129,8 @@ #define CONFIG_SPL_PAD_TO 0x1c000 #define CONFIG_SYS_TEXT_BASE 0x82000000 -#define CONFIG_SYS_SPL_MALLOC_START 0x80200000 +#define CONFIG_SYS_SPL_MALLOC_START (CONFIG_SYS_TEXT_BASE + \ + CONFIG_SYS_MONITOR_LEN) #define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000 #define CONFIG_SPL_BSS_START_ADDR 0x80100000 #define CONFIG_SPL_BSS_MAX_SIZE 0x80000 -- cgit