Atmosphere/fusee/fusee-primary/fusee-primary-main/src
Michael Scire c5edb031fa fusee: restore DRAM to 204MHz before starting main cpu on Mariko (closes #1600).
Nintendo's Mariko tables result in trained frequency of 1599999 instead of 1600000.

PCV checks for rate == 1600000 exactly, when doing EMC init.

Thus EMC init does not succeed if we are trained to 1600000.

PCV has a fudge factor of 1000 used in SetEmcDvfsFreq, but this is not used in InitEmcDvfs.

This failure means that PCV cannot change rate back to 204MHz before sleep, and then after
wake extremely degraded performance is observed.

Restoring DRAM to 204MHz before boot causes EMC init to succeed/fixes performance degradation.
2021-08-30 07:19:28 -07:00
..
apb_misc.h fusee: 11.0.0 support 2021-01-05 11:05:33 -08:00
btn.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
btn.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
car.c fusee: start fleshing out nxboot for Mariko 2021-01-05 11:05:33 -08:00
car.h fusee: start fleshing out nxboot for Mariko 2021-01-05 11:05:33 -08:00
chainloader.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
chainloader.h fusee: fixup extents for chainloader/stack 2021-01-05 11:05:33 -08:00
di.c fusee: cleanup code and start fleshing out mariko keygen 2021-01-05 11:05:33 -08:00
di.h fusee: 11.0.0 support 2021-01-05 11:05:33 -08:00
di.inl fusee: 11.0.0 support 2021-01-05 11:05:33 -08:00
emc.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
exception_handlers.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
exception_handlers.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
exception_handlers_asm.s fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
flow.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
fs_utils.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
fs_utils.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
fuse.c fusee/sept: fix fuse driver to not infinitely recurse on get_soc_type() 2021-01-05 11:05:33 -08:00
fuse.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
gpio.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
gpio.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
hwinit.c ams: replace sept with tsec firmware (#1594) 2021-08-20 13:13:29 -07:00
hwinit.h fusee/sept: delegate SoC selection to individual components and keep common code SoC-agnostic 2021-01-05 11:05:33 -08:00
i2c.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
i2c.h fusee: start fleshing out nxboot for Mariko 2021-01-05 11:05:33 -08:00
init.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
main.c fusee: sdram scratch fixes 2021-01-05 11:05:33 -08:00
max7762x.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
max7762x.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
max77620.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
max77812.h fusee: start fleshing out nxboot for Mariko 2021-01-05 11:05:33 -08:00
mc.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
mc.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
panic.c fusee/sept: delegate SoC selection to individual components and keep common code SoC-agnostic 2021-01-05 11:05:33 -08:00
panic.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
panic_color.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
pinmux.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
pmc.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
preprocessor.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
reboot_start.s fusee-primary: fix reboot-to-self for decompressed code 2021-01-05 11:05:33 -08:00
sdram.c fusee: sdram scratch fixes 2021-01-05 11:05:33 -08:00
sdram.h fusee/sept: delegate SoC selection to individual components and keep common code SoC-agnostic 2021-01-05 11:05:33 -08:00
sdram.inl fusee: 11.0.0 support 2021-01-05 11:05:33 -08:00
sdram_lz.inl fusee: 11.0.0 support 2021-01-05 11:05:33 -08:00
sdram_params.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
se.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
se.h fusee: cleanup code and start fleshing out mariko keygen 2021-01-05 11:05:33 -08:00
stage2.c fusee: restore DRAM to 204MHz before starting main cpu on Mariko (closes #1600). 2021-08-30 07:19:28 -07:00
stage2.h fusee: fixup extents for chainloader/stack 2021-01-05 11:05:33 -08:00
start.s fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
sysctr0.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
sysreg.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
timers.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
uart.c fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
uart.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00
utils.c fusee: perform only pmic reboots on mariko 2021-01-05 11:05:33 -08:00
utils.h fusee: uncompress fusee-primary, which is now getting pretty big. 2021-01-05 11:05:33 -08:00