fusee: Minor hardware configuration fixes.

This commit is contained in:
hexkyz 2018-11-17 21:50:31 +00:00
parent ac391d9c5e
commit 6e7eb47d33
3 changed files with 12 additions and 3 deletions

View file

@ -234,7 +234,7 @@ void nx_hwinit()
/* Reboot SE. */
/* NOTE: [4.0.0+] This was removed. */
clkrst_reboot(CARDEVICE_SE);
/* clkrst_reboot(CARDEVICE_SE); */
/* Reboot unknown device. */
clkrst_reboot(CARDEVICE_UNK);

View file

@ -160,7 +160,9 @@ void mc_enable()
car->clk_enb_x_set = ((car->clk_enb_x_set & 0xFFFFBFFF) | 0x4000);
/* Clear EMC and MC reset. */
car->rst_dev_h_set = 0x2000001;
/* NOTE: [4.0.0+] This was changed to use the right register. */
/* car->rst_dev_h_set = 0x2000001; */
car->rst_dev_h_clr = 0x2000001;
udelay(5);
mc_disable_ahb_redirect();