blob: 1641838a5a034334b1663b04912861c94d3baed1 [file] [log] [blame]
huang lina6dbfb52016-03-02 18:38:40 +08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright 2016 Rockchip Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 */
16
17#include <arch/cache.h>
18#include <arch/io.h>
19#include <boardid.h>
20#include <boot/coreboot_tables.h>
21#include <device/device.h>
22#include <console/console.h>
23
24static void mainboard_init(device_t dev)
25{
26}
27
28static void mainboard_enable(device_t dev)
29{
30 dev->ops->init = &mainboard_init;
31}
32
33struct chip_operations mainboard_ops = {
34 .name = CONFIG_MAINBOARD_PART_NUMBER,
35 .enable_dev = mainboard_enable,
36};