Martin Roth has posted comments on this change. ( https://review.coreboot.org/18893 )
Change subject: northbridge/via/cn700: Add some delays during raminit ......................................................................
Patch Set 1:
(2 comments)
https://review.coreboot.org/#/c/18893/1//COMMIT_MSG Commit Message:
PS1, Line 13: regisers registers.
https://review.coreboot.org/#/c/18893/1/src/northbridge/via/cn700/raminit.c File src/northbridge/via/cn700/raminit.c:
PS1, Line 65: udelay(200); : pci_write_config8(dev, 0x50, 0x88); I'm not really crazy about this since it affects other mainboards as well. Maybe make a separate function that enables / disables the delay based on a Kconfig option?
void c7_pci_write_config8 (pci_devfn_t dev, u8 reg, u8 val) { if IS_ENABLED(CONFIG_C7_CPU_DELAY) udelay(200) pci_write_config8(dev, rev, val); }
Add C7_CPU_DELAY to via/cn700/Kconfig config C7_CPU_DELAY def_bool n help At least one board needs delays between PCI writes when configuring the CPU or it locks up.
Then in the Kconfig for your board: config BOARD_SPECIFIC_OPTIONS # dummy def_bool y select C7_CPU_DELAY