sb/intel/bd82x6x: Reduce function-disable mess
Most affected boards set the function disabled (FD) register to an arbitrary state dumped from systems running the vendor BIOS. This makes it impossible to enable the devices in devicetree and a pretty big mess of course because nobody cared to keep the register in sync with the devicetree. To get completely rid of most of the writes to FD, move setting of PCH_DISABLE_ALWAYS into the southbridge code where it belongs. Change-Id: Ia2a507cbcdf218d09738e2e16f0d3ad1dcf57b8b Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/23255 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hal Martin <hal.martin+coreboot@gmail.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Bill XIE <persmule@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
@@ -110,7 +110,8 @@ void mainboard_romstage_entry(unsigned long bist)
|
||||
post_code(0x3c);
|
||||
|
||||
southbridge_configure_default_intmap();
|
||||
rcba_config();
|
||||
southbridge_rcba_config();
|
||||
mainboard_rcba_config();
|
||||
|
||||
post_code(0x3d);
|
||||
|
||||
|
@@ -220,7 +220,6 @@ void report_platform_info(void);
|
||||
|
||||
#endif /* !__SMM__ */
|
||||
|
||||
void rcba_config(void);
|
||||
void pch_enable_lpc(void);
|
||||
void mainboard_early_init(int s3resume);
|
||||
void mainboard_config_superio(void);
|
||||
|
Reference in New Issue
Block a user