diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2018-12-15 23:46:48 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-01-08 14:29:13 +0000 |
commit | 6267f5dd11aa43fd0bd84f84192db4ddaffa8575 (patch) | |
tree | 75ee8cc7fce69523e4fde510ec3330823807a40a /src/mainboard/kontron/986lcd-m | |
parent | 79a7ad6dda8a5a4272b6a59cef750af2f2585dc2 (diff) |
sb/intel/i82801gx: Autodisable functions based on devicetree
This removes the need to synchronize the devicetree and the romstage
writing to FD.
Change-Id: I83576599538a02d295fe00b35826f98d8c97d1cf
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/30244
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/kontron/986lcd-m')
-rw-r--r-- | src/mainboard/kontron/986lcd-m/romstage.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mainboard/kontron/986lcd-m/romstage.c b/src/mainboard/kontron/986lcd-m/romstage.c index 144872d4f2..e85135bfc6 100644 --- a/src/mainboard/kontron/986lcd-m/romstage.c +++ b/src/mainboard/kontron/986lcd-m/romstage.c @@ -166,7 +166,7 @@ static void early_superio_config_w83627thg(void) static void rcba_config(void) { - u32 reg32; + u32 reg32 = 0; /* Set up virtual channel 0 */ @@ -199,9 +199,6 @@ static void rcba_config(void) int port_shuffle = 0; /* Disable unused devices */ - reg32 = FD_ACMOD|FD_ACAUD|FD_PATA; - reg32 |= FD_PCIE6|FD_PCIE5|FD_PCIE4; - if (read_option(ethernet1, 0) != 0) { printk(BIOS_DEBUG, "Disabling ethernet adapter 1.\n"); reg32 |= FD_PCIE1; |