sb/intel/ibexpeak: Perform const correctness
me_bios_path_values[] in me.c should not be mutable. Signed-off-by: Bill XIE <persmule@hardenedlinux.org> Change-Id: I56412ff0883e1d37027b989c7ac1bd83e93661f2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65729 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
348909a574
commit
44ef2123b0
|
@ -24,7 +24,7 @@
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
/* Path that the BIOS should take based on ME state */
|
/* Path that the BIOS should take based on ME state */
|
||||||
static const char *me_bios_path_values[] = {
|
static const char *const me_bios_path_values[] = {
|
||||||
[ME_NORMAL_BIOS_PATH] = "Normal",
|
[ME_NORMAL_BIOS_PATH] = "Normal",
|
||||||
[ME_S3WAKE_BIOS_PATH] = "S3 Wake",
|
[ME_S3WAKE_BIOS_PATH] = "S3 Wake",
|
||||||
[ME_ERROR_BIOS_PATH] = "Error",
|
[ME_ERROR_BIOS_PATH] = "Error",
|
||||||
|
|
Loading…
Reference in New Issue