Add display_end fix for all fw + easter egg

The easter egg is sth that was forgotten in booting via hekate's hwinit.
This commit is contained in:
Kostas Missos committed 2018-08-14 02:30:44 +03:00
1 parent 6b8887b5d8
commit 5fd9daa364
3 files changed
+7 -9

No files matched your search

+1 -5
View File
@@ -149,10 +149,6 @@ void display_end()
DSI(_DSIREG(DSI_VIDEO_MODE_CONTROL)) = 1;
DSI(_DSIREG(DSI_WR_DATA)) = 0x2805;
u32 end = HOST1X(0x30A4) + 5;
while (HOST1X(0x30A4) < end)
;
DISPLAY_A(_DIREG(DC_CMD_STATE_ACCESS)) = READ_MUX | WRITE_MUX;
DSI(_DSIREG(DSI_VIDEO_MODE_CONTROL)) = 0;
@@ -181,7 +177,7 @@ void display_end()
usleep(10000);
//Disable clocks.
// Disable clocks.
CLOCK(CLK_RST_CONTROLLER_RST_DEV_H_SET) = 0x1010000;
CLOCK(CLK_RST_CONTROLLER_CLK_ENB_H_CLR) = 0x1010000;
CLOCK(CLK_RST_CONTROLLER_RST_DEV_L_SET) = 0x18000000;