Arne Georg Gleditsch arne.gleditsch@numascale.com writes:
I intend to rework the MMCONF patch to map the MMCONF area into 32-bit address space, [..]
Please find appended. This patch gets rid of the %gs magic altogether, fixes a few alignment wrinkles and sets up and registers the MMCONF area for AMD Fam10h CPUs (where selected by mainboard configuration). It removes a bit of code that proved troublesome in MMCONF setups from mcp55_early_setup_car.c, as per earlier discussion.
(The way the patch hooks add_northbridge_resources via s2912_fam10/mainboard.c replicates a well-used pattern that perhaps ought to be simplified. HAVE_NORTHBRIDGE_RESOURCES would remove otherwise empty add_mainboard_resources from a lot of mainboard.c files.)
Signed-off-by: Arne Georg Gleditsch arne.gleditsch@numascale.com