diff options
author | T Michael Turney <mturney@codeaurora.org> | 2018-03-15 13:18:00 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-03-26 10:23:24 +0000 |
commit | 2c1cdea41358e32e8f6987fbeaa0a22c0ad37321 (patch) | |
tree | 8022515ab46034010c06ce6c4f2e2a02e2f7f0d6 /src/mainboard/google/cheza/mainboard.c | |
parent | bd24d039fc808d625de7e4b67a67f1e5dbdd80b0 (diff) | |
download | coreboot-2c1cdea41358e32e8f6987fbeaa0a22c0ad37321.tar.xz |
mainboard/google/cheza: Add support for Cheza
TEST=build
Change-Id: I32d185741ce20a3a82e6895de3026ade52d0bcc8
Signed-off-by: T Michael Turney <mturney@codeaurora.org>
Reviewed-on: https://review.coreboot.org/25200
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/mainboard/google/cheza/mainboard.c')
-rw-r--r-- | src/mainboard/google/cheza/mainboard.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/mainboard/google/cheza/mainboard.c b/src/mainboard/google/cheza/mainboard.c new file mode 100644 index 0000000000..c249a32456 --- /dev/null +++ b/src/mainboard/google/cheza/mainboard.c @@ -0,0 +1,33 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2018, The Linux Foundation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 and + * only version 2 as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#include <device/device.h> +#include <bootblock_common.h> +#include <timestamp.h> + +static void mainboard_init(device_t dev) +{ + +} + +static void mainboard_enable(device_t dev) +{ + dev->ops->init = &mainboard_init; +} + +struct chip_operations mainboard_ops = { + .name = CONFIG_MAINBOARD_PART_NUMBER, + .enable_dev = mainboard_enable, +}; |