diff options
author | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-06 16:29:07 -0600 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-10-10 21:50:34 +0000 |
commit | 3c963d9e88240eaf4ea6eff8af7590d7c473acd4 (patch) | |
tree | 6004817a9b79d0c3f3f54d6eb7f6ba8a016bfc1d /src/mainboard/amd/birman/chromeos.c | |
parent | f225d761ba1ae6dea878c33668b590fe94293fe5 (diff) |
mb/amd/birman: Add framework for morgana crb birman
birman is the reference board for the morgana SoC. It needs to be
updated to match the actual board design as well.
Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Change-Id: I4b16854c954949217a76c3d4f04ddc4001f64337
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68196
Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/amd/birman/chromeos.c')
-rw-r--r-- | src/mainboard/amd/birman/chromeos.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mainboard/amd/birman/chromeos.c b/src/mainboard/amd/birman/chromeos.c new file mode 100644 index 0000000000..515da94df1 --- /dev/null +++ b/src/mainboard/amd/birman/chromeos.c @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include <bootmode.h> +#include <boot/coreboot_tables.h> +#include <gpio.h> +#include <types.h> +#include <vendorcode/google/chromeos/chromeos.h> + +void fill_lb_gpios(struct lb_gpios *gpios) +{ + struct lb_gpio chromeos_gpios[] = {}; + lb_add_gpios(gpios, chromeos_gpios, ARRAY_SIZE(chromeos_gpios)); +} + +int get_write_protect_state(void) +{ + /* Birman doesn't have a write protect pin */ + return 0; +} + +DECLARE_NO_CROS_GPIOS(); |