blob: 70f96fc45ebba6f678bccafd65fd2b818f0242b4 [file] [log] [blame]
Martin Rothe6df0412014-07-28 14:22:32 -06001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2007-2009 coresystems GmbH
5 * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved.
6 * Copyright (C) 2014 Sage Electronic Engineering, LLC
7 *
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.
11 *
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.
Martin Rothe6df0412014-07-28 14:22:32 -060016 */
17
18#include <device/device.h>
19
20/*
21 * mainboard_enable is executed as first thing after enumerate_buses().
22 * This is the earliest point to add customization.
23 */
24static void mainboard_enable(device_t dev)
25{
26}
27
28/*
29 * mainboard_final is executed as one of the last items before loading the
30 * payload.
31 *
32 * This is the latest point to add customization.
33 */
34static void mainboard_final(void *chip_info)
35{
36}
37
38struct chip_operations mainboard_ops = {
39 .enable_dev = mainboard_enable,
40 .final = mainboard_final,
41};