From dac8cd83ece9abd9b5d652013b530e7e6b437d28 Mon Sep 17 00:00:00 2001 From: Kostas Missos Date: Fri, 1 Jun 2018 19:08:21 +0300 Subject: [PATCH] [LP0] Inform user that console halted :P Actually this corrects sdram cfg parsing in LP0. The cfg is missing 3 variables, which ultimately are unused in T210. Remove them and fix LP0 configuration saving. The console sleep, still does not work. But now it tries to enter/leave sleep and halts with backlight on. At least, this reminds the user to power off the console to not deplete the battery completely. --- ipl/sdram_param_t210_lp0.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ipl/sdram_param_t210_lp0.h b/ipl/sdram_param_t210_lp0.h index 7807997..525b17d 100755 --- a/ipl/sdram_param_t210_lp0.h +++ b/ipl/sdram_param_t210_lp0.h @@ -262,7 +262,7 @@ struct sdram_params { /* Specifies the value for EMC_PUTERM_WIDTH */ u32 EmcPutermWidth; /* Specifies the value for EMC_PUTERM_ADJ */ - u32 EmcPutermAdj; + ////u32 EmcPutermAdj; /* Specifies the value for EMC_QRST */ u32 EmcQRst; @@ -647,7 +647,7 @@ struct sdram_params { u32 EmcAcpdControl; /* Specifies the value for EMC_SWIZZLE_RANK0_BYTE_CFG */ - u32 EmcSwizzleRank0ByteCfg; + ////u32 EmcSwizzleRank0ByteCfg; /* Specifies the value for EMC_SWIZZLE_RANK0_BYTE0 */ u32 EmcSwizzleRank0Byte0; /* Specifies the value for EMC_SWIZZLE_RANK0_BYTE1 */ @@ -657,7 +657,7 @@ struct sdram_params { /* Specifies the value for EMC_SWIZZLE_RANK0_BYTE3 */ u32 EmcSwizzleRank0Byte3; /* Specifies the value for EMC_SWIZZLE_RANK1_BYTE_CFG */ - u32 EmcSwizzleRank1ByteCfg; + ////u32 EmcSwizzleRank1ByteCfg; /* Specifies the value for EMC_SWIZZLE_RANK1_BYTE0 */ u32 EmcSwizzleRank1Byte0; /* Specifies the value for EMC_SWIZZLE_RANK1_BYTE1 */