get CONFIGURE right
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1011 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
23e107f184
commit
6430c011f4
|
@ -7,9 +7,9 @@
|
|||
|
||||
/* some of the types of resources chips can control */
|
||||
#ifndef CONFIG_CHIP_CONFIGURE
|
||||
#define CONFIGURE(dev, pass) chip_configure(chip, pass)
|
||||
#define CONFIGURE(pass) chip_configure(&static_root, pass)
|
||||
#else
|
||||
#define CONFIGURE(dev, pass)
|
||||
#define CONFIGURE(pass)
|
||||
#endif
|
||||
|
||||
struct com_ports {
|
||||
|
@ -65,5 +65,5 @@ struct chip {
|
|||
void *chip_info; /* the dreaded "void *" */
|
||||
};
|
||||
|
||||
extern struct chip root;
|
||||
extern struct chip static_root;
|
||||
extern void chip_configure(struct chip *, enum chip_pass);
|
||||
|
|
Loading…
Reference in New Issue