[coreboot] [PATCH]Build mptable bus entries from device tree
patrick at georgi-clan.de
Fri Jun 25 15:06:56 CEST 2010
attached patch adds code to create bus entries in the mptable from the
device tree instead of the hardcodes we do right now.
It also changes kontron/986lcd-m to use the new function, where its
advantage is starting to show:
As we support a given riser card (with pci bridge and bus), we currently
have to look for the card and add a bus and interrupt sources to the
mptable. With this patch, the bus is automatically added to the table.
Once interrupt sources are handled the same way, that special case could
be dropped completely (and such plug-in cards that add buses will be
properly supported on all boards)
I didn't adapt all the mptable.c files in the tree, as I feel the code
should be tested on a more diverse set of boards. Our table generation
code sometimes differs only so slightly, and I don't know in all cases
if the automatic handling would pick up those differences, or if they
actually matter (or are correct in the first place).
Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the coreboot