2 * This file is part of the coreboot project.
4 * Copyright (C) 2007-2009 coresystems GmbH
5 * Copyright (C) 2015 Google Inc.
6 * Copyright (C) 2015 Intel Corporation
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; version 2 of the License.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
18 #include <device/device.h>
22 static void mainboard_init(device_t dev
)
28 * mainboard_enable is executed as first thing after
31 static void mainboard_enable(device_t dev
)
33 dev
->ops
->init
= mainboard_init
;
36 struct chip_operations mainboard_ops
= {
37 .enable_dev
= mainboard_enable
,