Hi Keith,
Keith Hui buurin@gmail.com writes:
Option C with GPLv2+ licensing.
A few quick things:
SUPERIO_FINTEK_F81865F_HAS_EARLY_SERIAL seems long-winded for a name.
I prefer to define CONFIG_SUPERIO_HAS_EARLY_SERIAL (or even just CONFIG_HAS_EARLY_SERIAL) within the superio Kconfig and not in mainboard Kconfig. This I think would be a per-superio setting. While we're at it, have we seen a board with 2+ superios?
Depends on what the definition of 'one Board' is. :) One example of having more than one superio is the Lenovo X60/T60 - both have one superio in the Laptop, and one in the Docking station. You can't use the serial Port in the Laptop for an early console without soldering, but that's one practically example of having more than one superio.
I would prefer to add such settings to devicetree.cb - Kconfig isn't the right right place for it IMHO, and isn't flexible enough.
Sven.