[coreboot] [patch] asus m2v: autodetect ide cable type

Tobias Diedrich ranma+coreboot at tdiedrich.de
Sun Nov 14 12:44:52 CET 2010


Rudolf Marek wrote:
> What about a weak function? I think about this:
>
> Make a non-weak dummy function which will read the original devicetree data.
> Create a weak function in your mainboard.c which will override it.
>
> [coreboot] [PATCH] [RFC] sata PHY settings callback on SB700

Hmm, that's a nice idea.
Another possibility I was thinking about was adding a gpio number
field to devicetree.cb, so you'd have a flag 'use gpio' and a
register for the gpio number, maybe with negative values meaning
'needs to be inverted' or another flag 'invert gpio', but that
assumes it's always connected to one of the southbridge gpios...

-- 
Tobias						PGP: http://8ef7ddba.uguu.de




More information about the coreboot mailing list