diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-11-08 13:11:51 +0200 |
---|---|---|
committer | Arthur Heymans <arthur@aheymans.xyz> | 2022-05-16 07:03:31 +0000 |
commit | 8a80cc8dd0c7d33de560abcffa4bc348554a00ea (patch) | |
tree | 03646609c19b7c8511739230564b6406c5191550 /src/mainboard/google/cyan/onboard.h | |
parent | 90e2adf0d33117efe04c4df601a369223b0c1516 (diff) |
google/cyan: Clean up write_protect_state()
The commentary was wrong, write_protect_state() is only called
in ramstage at the moment, and only if MRC_SETTINGS_PROTECT is
selected.
Implementation of get_gpio() eventually does the MMIO read, so
BOARD_GOOGLE_CYAN was not a special case.
Change-Id: I96ca871110bcf2fc1485bd042ed137d51b822a20
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59014
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/google/cyan/onboard.h')
-rw-r--r-- | src/mainboard/google/cyan/onboard.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/cyan/onboard.h b/src/mainboard/google/cyan/onboard.h new file mode 100644 index 0000000000..dd33a38123 --- /dev/null +++ b/src/mainboard/google/cyan/onboard.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef CYAN_ONBOARD_H +#define CYAN_ONBOARD_H + +/* Write protect active high. */ +#define WP_GPIO GP_E_22 + +#endif |