diff options
author | Yinghai Lu <yinghailu@gmail.com> | 2005-01-12 23:52:07 +0000 |
---|---|---|
committer | Yinghai Lu <yinghailu@gmail.com> | 2005-01-12 23:52:07 +0000 |
commit | 7715f26590fc228009686f12ff143ced7d534823 (patch) | |
tree | 857e0b1c5ef5c83c26b2e10e752fa6f9b412e870 /src/drivers | |
parent | 515f6c729e0b4878884e74e21d00dbc4b66dcdd9 (diff) | |
download | coreboot-7715f26590fc228009686f12ff143ced7d534823.tar.xz |
onboard pci rom
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1857 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/pci/onboard/Config.lb | 4 | ||||
-rw-r--r-- | src/drivers/pci/onboard/chip.h | 11 | ||||
-rw-r--r-- | src/drivers/pci/onboard/onboard.c | 19 |
3 files changed, 34 insertions, 0 deletions
diff --git a/src/drivers/pci/onboard/Config.lb b/src/drivers/pci/onboard/Config.lb new file mode 100644 index 0000000000..d249df4658 --- /dev/null +++ b/src/drivers/pci/onboard/Config.lb @@ -0,0 +1,4 @@ +config chip.h + +object onboard.o + diff --git a/src/drivers/pci/onboard/chip.h b/src/drivers/pci/onboard/chip.h new file mode 100644 index 0000000000..f06f53ec7a --- /dev/null +++ b/src/drivers/pci/onboard/chip.h @@ -0,0 +1,11 @@ +#ifndef PCI_ONBOARD_H +#define PCI_ONBOARD_H + +struct drivers_pci_onboard_config +{ + unsigned long rom_address; +}; +struct chip_operations; +extern struct chip_operations drivers_pci_onboard_ops; + +#endif diff --git a/src/drivers/pci/onboard/onboard.c b/src/drivers/pci/onboard/onboard.c new file mode 100644 index 0000000000..c5059323fa --- /dev/null +++ b/src/drivers/pci/onboard/onboard.c @@ -0,0 +1,19 @@ +/* + * Copyright 2004 Tyan Computer + * by yhlu@tyan.com + */ + +#include <console/console.h> + +#include <device/device.h> +#include <device/pci.h> +#include <device/pci_ids.h> +#include <device/pci_ops.h> +#include "chip.h" + + +struct chip_operations drivers_pci_onboard_ops = { +#if CONFIG_CHIP_NAME == 1 + CHIP_NAME("Onboard PCI") +#endif +}; |