1
0
Fork 0
mirror of https://github.com/CTCaer/hekate.git synced 2024-12-04 23:42:06 +00:00

[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.
This commit is contained in:
Kostas Missos 2018-06-01 19:08:21 +03:00
parent 1521315450
commit b74dde3b6d

View file

@ -262,7 +262,7 @@ struct sdram_params {
/* Specifies the value for EMC_PUTERM_WIDTH */ /* Specifies the value for EMC_PUTERM_WIDTH */
u32 EmcPutermWidth; u32 EmcPutermWidth;
/* Specifies the value for EMC_PUTERM_ADJ */ /* Specifies the value for EMC_PUTERM_ADJ */
u32 EmcPutermAdj; ////u32 EmcPutermAdj;
/* Specifies the value for EMC_QRST */ /* Specifies the value for EMC_QRST */
u32 EmcQRst; u32 EmcQRst;
@ -647,7 +647,7 @@ struct sdram_params {
u32 EmcAcpdControl; u32 EmcAcpdControl;
/* Specifies the value for EMC_SWIZZLE_RANK0_BYTE_CFG */ /* Specifies the value for EMC_SWIZZLE_RANK0_BYTE_CFG */
u32 EmcSwizzleRank0ByteCfg; ////u32 EmcSwizzleRank0ByteCfg;
/* Specifies the value for EMC_SWIZZLE_RANK0_BYTE0 */ /* Specifies the value for EMC_SWIZZLE_RANK0_BYTE0 */
u32 EmcSwizzleRank0Byte0; u32 EmcSwizzleRank0Byte0;
/* Specifies the value for EMC_SWIZZLE_RANK0_BYTE1 */ /* Specifies the value for EMC_SWIZZLE_RANK0_BYTE1 */
@ -657,7 +657,7 @@ struct sdram_params {
/* Specifies the value for EMC_SWIZZLE_RANK0_BYTE3 */ /* Specifies the value for EMC_SWIZZLE_RANK0_BYTE3 */
u32 EmcSwizzleRank0Byte3; u32 EmcSwizzleRank0Byte3;
/* Specifies the value for EMC_SWIZZLE_RANK1_BYTE_CFG */ /* Specifies the value for EMC_SWIZZLE_RANK1_BYTE_CFG */
u32 EmcSwizzleRank1ByteCfg; ////u32 EmcSwizzleRank1ByteCfg;
/* Specifies the value for EMC_SWIZZLE_RANK1_BYTE0 */ /* Specifies the value for EMC_SWIZZLE_RANK1_BYTE0 */
u32 EmcSwizzleRank1Byte0; u32 EmcSwizzleRank1Byte0;
/* Specifies the value for EMC_SWIZZLE_RANK1_BYTE1 */ /* Specifies the value for EMC_SWIZZLE_RANK1_BYTE1 */