switch-coreboot/util/dtc
Myles Watson 12a3094274 This patch makes subsystem ids work. Here are the changes by file:
device/pci_device.c:
    Only update IDs if:
    - The device is on the mainboard
    - The device has a Vendor ID and Device ID
    - The device has a set_subsystem function in ops_pci(dev)

util/dtc/flattree.c:
    Make devices from the dts be on_mainboard.
    If they're plugged in, they shouldn't be in the dts.

mainboard/amd/serengeti/dts:
    Add subsystem_vendor and subsystem_device.

Build tested on Serengeti.  Getting closer :)

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>


git-svn-id: svn://coreboot.org/repository/coreboot-v3@1045 f3766cd6-281f-0410-b1cd-43a5c92072e9
2008-11-19 03:05:33 +00:00
..
Documentation filling in 2006-10-06 19:19:14 +00:00
tests filling in 2006-10-06 19:19:14 +00:00
comment-test.dts filling in 2006-10-06 19:19:14 +00:00
COPYING filling in 2006-10-06 19:19:14 +00:00
data.c Add generic array support to the coreboot dts output code. 2008-04-17 16:13:58 +00:00
dtc-lexer.l This is the dtc update by itself. 2007-06-27 19:13:18 +00:00
dtc-parser.y Fix a build error when using bison-2.4 2008-11-12 17:04:15 +00:00
dtc.c In the current version of dtc, if one has the line: 2008-01-29 17:48:10 +00:00
dtc.h The K8 is one example, but there are other devices (e.g. I2C) that also have 2008-09-17 16:36:20 +00:00
endian.h Now version 3: LinuxBIOS -> coreboot rename. 2008-01-27 18:54:57 +00:00
flat_dt.h filling in 2006-10-06 19:19:14 +00:00
flattree.c This patch makes subsystem ids work. Here are the changes by file: 2008-11-19 03:05:33 +00:00
fstree.c Changes to allow us to use the dtc to create C structures for the static 2007-06-19 07:03:35 +00:00
ftdump.c This patch fixes compilation on OS X 2007-07-16 22:42:21 +00:00
libdt.c This patch fixes compilation on OS X 2007-07-16 22:42:21 +00:00
livetree.c Fix code warning - val.type is a char, and NULL is not. 2008-04-26 12:05:08 +00:00
Makefile * move post_code() to a seperate file 2007-07-23 16:49:00 +00:00
test.dts filling in 2006-10-06 19:19:14 +00:00
TODO filling in 2006-10-06 19:19:14 +00:00
treesource.c Clean up nasty dtc warnings 2007-02-23 10:13:24 +00:00