summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/chip.h
diff options
context:
space:
mode:
authorMario Scheithauer <mario.scheithauer@siemens.com>2018-08-23 11:39:19 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-08-24 15:36:07 +0000
commit9116eb660eac5fe906f8968704f3daa739c1a8e9 (patch)
treede47c622b9ad9162be113d011a80bb6859707db2 /src/soc/intel/apollolake/chip.h
parent31a4700ce9fbd1a4a04e88198e18d50cd9a81897 (diff)
soc/intel/apollolake: Make eMMC max speed configurable
The eMMC maximum speed is set to HS400 mode per default. To increase the lifetime of the circuit, it is necessary to reduce the eMMC speed. Change-Id: I6fa5eb56a0593e24269ef143645c506232879889 Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com> Reviewed-on: https://review.coreboot.org/28282 Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/apollolake/chip.h')
-rw-r--r--src/soc/intel/apollolake/chip.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/soc/intel/apollolake/chip.h b/src/soc/intel/apollolake/chip.h
index 61ddedaf49..28d8634442 100644
--- a/src/soc/intel/apollolake/chip.h
+++ b/src/soc/intel/apollolake/chip.h
@@ -2,7 +2,7 @@
* This file is part of the coreboot project.
*
* Copyright (C) 2015 Intel Corp.
- * Copyright (C) 2017 Siemens AG
+ * Copyright (C) 2017 - 2018 Siemens AG
* (Written by Alexandru Gagniuc <alexandrux.gagniuc@intel.com> for Intel Corp.)
*
* This program is free software; you can redistribute it and/or modify
@@ -93,6 +93,9 @@ struct soc_intel_apollolake_config {
*/
uint32_t emmc_rx_cmd_data_cntl2;
+ /* Select the eMMC max speed allowed. */
+ uint8_t emmc_host_max_speed;
+
/* Specifies on which IRQ the SCI will internally appear. */
uint8_t sci_irq;