Martin Roth | e6df041 | 2014-07-28 14:22:32 -0600 | [diff] [blame] | 1 | /* |
| 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 Roth | e6df041 | 2014-07-28 14:22:32 -0600 | [diff] [blame] | 16 | */ |
| 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 | */ |
| 24 | static 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 | */ |
| 34 | static void mainboard_final(void *chip_info) |
| 35 | { |
| 36 | } |
| 37 | |
| 38 | struct chip_operations mainboard_ops = { |
| 39 | .enable_dev = mainboard_enable, |
| 40 | .final = mainboard_final, |
| 41 | }; |