[coreboot] some thoughts on dts vs. Kconfig vs. makefiles vs. C code

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Thu Mar 6 00:12:49 CET 2008


We have one really bad offender which totally violates the Kconfig vs. 
dts distinction:

config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
	hex
	# TODO: Fix PCI ID.
	default 0x1022
	depends BOARD_AMD_NORWICH
	help
	  Mainboard specific PCI subsystem vendor ID.

config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID
	hex
	# TODO: Fix PCI ID.
	default 0x2323
	depends BOARD_AMD_NORWICH
	help
	  Mainboard specific PCI subsystem device ID.


This absolutely belongs in the dts. The question is: Where in the dts 
should it live?

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/





More information about the coreboot mailing list