ls1021atwr: added deep sleep support in uboot
PATCH 1/1 ls1021atwr: added deep sleep support in uboot
From: Tang Yuantian <[email protected]>
Signed-off-by Tang Yuantian <[email protected]>
--- arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 4 ++ board/freescale/ls1021atwr/ls1021atwr.c | 68 ++++++++++++++++++++++- include/configs/ls1021atwr.h | 7 ++- 3 files changed, 75 insertions(+), 4 deletions(-)
arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h +4 -0
@@ -370,6 +370,10 @@ struct ccsr_serdes {#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/* DDR memory controller registers */ struct ccsr_ddr {
board/freescale/ls1021atwr/ls1021atwr.c +65 -3
122 lines not on this page · raw message
include/configs/ls1021atwr.h +6 -1
@@ -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
@@ -60,7 +64,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
Signature · 1 line
2.1.0.27.g96db324
PATCH 1/1 ls1021atwr: added deep sleep support in uboot
Acked-by Alison Wang <[email protected]>
--
View this message in context: http://u-boot.10912.n7.nabble.com/PATCH-ls1021atwr-added-deep-sleep-support-in-uboot-tp214734p219806.html
Sent from the U-Boot mailing list archive at Nabble.com.
PATCH 1/1 ls1021atwr: added deep sleep support in uboot
In reply to Yuantian.Tang at freescale.comQuoted 4 lines · Yuantian.Tang at freescale.com
From: Tang Yuantian <[email protected]>
Signed-off-by Tang Yuantian <[email protected]>---
Applied to u-boot-fsl-qoriq master. Thanks.
York