sb/intel/i82801gx: Add common early code
commit399b6c11efaff64cb86a879dc9047a97538e790f
authorArthur Heymans <arthur@aheymans.xyz>
Mon, 11 Nov 2019 18:12:57 +0000 (11 19:12 +0100)
committerPatrick Georgi <pgeorgi@google.com>
Thu, 14 Nov 2019 11:30:09 +0000 (14 11:30 +0000)
treeab3a75f247654a8f6c97d75b5dd4d79fe58d3f9e
parent949ff57bcaa3bf7e196b36c90124989a36ba93a5
sb/intel/i82801gx: Add common early code

Remove some of the code duplication on i82801gx.
x4x boards are left untouched for now since that northbridge
also supports i82801jx.

The order of some things has changed:
- on i945 early_ich7_init is now done before the raminit
- enabling the IOAPIC is done before the raminit

Change-Id: Ie39549938891e17667a8819b49a78b9c71c8ec9e
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36754
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
15 files changed:
src/mainboard/apple/macbook21/romstage.c
src/mainboard/asus/p5gc-mx/romstage.c
src/mainboard/getac/p470/romstage.c
src/mainboard/gigabyte/ga-945gcm-s2l/romstage.c
src/mainboard/ibase/mb899/romstage.c
src/mainboard/intel/d945gclf/romstage.c
src/mainboard/kontron/986lcd-m/romstage.c
src/mainboard/lenovo/t60/romstage.c
src/mainboard/lenovo/x60/romstage.c
src/mainboard/roda/rk886ex/romstage.c
src/northbridge/intel/i945/early_init.c
src/northbridge/intel/pineview/early_init.c
src/northbridge/intel/pineview/romstage.c
src/southbridge/intel/i82801gx/early_init.c
src/southbridge/intel/i82801gx/i82801gx.h