summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-08-31 10:24:13 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-09-25 01:01:54 +0000
commitad0d88bb804f424304a3f174bb898f482dd94cf5 (patch)
tree75f325af8f8918a05664e6bded9573a01b9ad3c4 /src/soc
parent0dac2ad3aaa01185ce94fdd0c07e222bbf02b7c0 (diff)
ssoc/intel/tigerlake: Use boolean for enable_c6dram
"enable_c6dram" needs only 2 "states" to be clearly defined. C provides "true/false", so use it instead of using unsigned int. Change-Id: Icff1b42ceb2e89cc0b2e7abab6743430c635db7b Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84155 Reviewed-by: Sean Rhodes <sean@starlabs.systems> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/intel/tigerlake/chip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/tigerlake/chip.h b/src/soc/intel/tigerlake/chip.h
index 6f0adcc6d0..630317a645 100644
--- a/src/soc/intel/tigerlake/chip.h
+++ b/src/soc/intel/tigerlake/chip.h
@@ -288,7 +288,7 @@ struct soc_intel_tigerlake_config {
bool eist_enable;
/* Enable C6 DRAM */
- uint8_t enable_c6dram;
+ bool enable_c6dram;
/*
* SerialIO device mode selection: