diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2019-12-16 14:50:42 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-01-14 18:28:50 +0000 |
commit | 7bc90bce36b4f907cd5d309a9fa11c46635d1194 (patch) | |
tree | df0bba660bf6a6bcb3ff9831a15eeb37c95e1671 /src/mainboard/google/dedede/mainboard.c | |
parent | 23140933b7d6bbe77e60c2d6a4b52ec7c48a2474 (diff) |
mb/google/dedede: Add dedede mainboard
Add mainboard stubs for Dedede. More functionalities will be added later.
BUG=b:144768001
TEST=Build test.
Change-Id: I7e6cb8adaee7b6bb95e9a96f96466646a78bd0fc
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38277
Reviewed-by: Aamir Bohra <aamir.bohra@intel.com>
Reviewed-by: Justin TerAvest <teravest@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/dedede/mainboard.c')
-rw-r--r-- | src/mainboard/google/dedede/mainboard.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/mainboard.c b/src/mainboard/google/dedede/mainboard.c new file mode 100644 index 0000000000..51b1aa4346 --- /dev/null +++ b/src/mainboard/google/dedede/mainboard.c @@ -0,0 +1,24 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2020 The coreboot project Authors. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include <device/device.h> + +static void mainboard_init(void *chip_info) +{ + /* TODO: Perform mainboard initialization */ +} + +static void mainboard_enable(struct device *dev) +{ + /* TODO: Enable mainboard */ +} + +struct chip_operations mainboard_ops = { + .init = mainboard_init, + .enable_dev = mainboard_enable, +}; |