On 9/1/10 1:22 PM, Patrick Georgi wrote: > Am 01.09.2010 11:31, schrieb Jens Rottmann: >> I meant the mapping INT A --> IRQ 10 etc. I already had a patch for this >> (attached) but also decided against it, because this should be generic >> and _not_ done individually at the board level and the device tree is a >> better place for it anyway. > That data doesn't belong in code, yes. Unfortunately we don't have a > very good place for it at all, at the moment. > The plan is to fix that, but I can't give a schedule, so _any_ support > you provide will (very likely) need to be rewritten at some point > (once we have a framework for that), so don't waste too much time to > make it pretty. Actually, I think for the mapping we do have a mechanism in some mainboards already, and it's stored in the device tree.
http://tracker.coreboot.org/trac/coreboot/browser/trunk/src/mainboard/kontron/986lcd-m/devicetree.cb In addition, the IRQ routing information itself should also be stored in the device tree, and that, unfortunately, lacks a framework to do so. Stefan -- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: [email protected] • http://www.coresystems.de/ Registergericht: Amtsgericht Freiburg • HRB 7656 Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866 -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

