8 const char mainboard_name[] = CONFIG_MAINBOARD_VENDOR
" " CONFIG_MAINBOARD_PART_NUMBER;
19 dev->
enabled ?
"enabled" :
"disabled");
45 for (link =
bus->link_list; link; link = link->
next) {
56 static int bus_max = 0;
60 for (link =
bus->link_list; link; link = link->
next) {
97 for (link =
bus->link_list; link; link = link->
next)
109 #if CONFIG(HAVE_ACPI_TABLES)
110 static const char *root_dev_acpi_name(
const struct device *
dev)
128 #if CONFIG(HAVE_ACPI_TABLES)
129 .acpi_name = root_dev_acpi_name,
#define printk(level,...)
void scan_bridges(struct bus *bus)
const char * dev_path(const struct device *dev)
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
static void noop_set_resources(struct device *dev)
__noreturn void board_reset(void)
#define BIOS_INFO
BIOS_INFO - Expected events.
#define BIOS_DEBUG
BIOS_DEBUG - Verbose output.
#define BIOS_SPEW
BIOS_SPEW - Excessively verbose output.
void scan_static_bus(struct device *bus)
static void root_dev_reset(struct bus *bus)
void scan_generic_bus(struct device *bus)
void scan_smbus(struct device *bus)
void enable_static_device(struct device *dev)
struct device_operations default_dev_ops_root
Default device operation for root device.
const char mainboard_name[]
void enable_static_devices(struct device *bus)
Enable devices on static buses.
DEVTREE_CONST struct bus * next
DEVTREE_CONST struct device * children
DEVTREE_CONST struct device * dev
void(* enable_dev)(struct device *dev)
void(* read_resources)(struct device *dev)
void(* enable)(struct device *dev)
struct chip_operations * chip_ops
DEVTREE_CONST struct device * sibling
struct device_operations * ops
DEVTREE_CONST struct bus * bus