diff options
author | Patrick Georgi <pgeorgi@google.com> | 2017-06-02 21:48:01 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-06-05 22:44:01 +0200 |
commit | b09933a2eb9b0fbbfe35392dac98d415290867aa (patch) | |
tree | 597b5993b4e5743dc67f9e2a1d1d86ca4856b095 /src/mainboard/google/reef/variants/coral/mainboard.c | |
parent | 34e10871f9f1004a0c007a26d2d77440997fafa1 (diff) |
google/reef: Add coral
A new variant copied from reef.
Allow override of the SKU.
Change-Id: Ibe160e75aa23623812f0fb9121d1d8226afc00d8
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/20020
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/reef/variants/coral/mainboard.c')
-rw-r--r-- | src/mainboard/google/reef/variants/coral/mainboard.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/variants/coral/mainboard.c b/src/mainboard/google/reef/variants/coral/mainboard.c new file mode 100644 index 0000000000..41a8056542 --- /dev/null +++ b/src/mainboard/google/reef/variants/coral/mainboard.c @@ -0,0 +1,32 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2016, 2017 Google Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * 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 <stdint.h> +#include "baseboard/variants.h" + +uint8_t variant_board_sku(void) +{ + return 0; +} + +void variant_nhlt_oem_overrides(const char **oem_id, + const char **oem_table_id, + uint32_t *oem_revision) +{ + *oem_id = "coral"; + *oem_table_id = CONFIG_VARIANT_DIR; + *oem_revision = variant_board_sku(); +} + |