mainboard/google/puff: enable emmc
enable eMMC in puff/overridetree.cb BRANCH=none BUG=b:146455177 TEST=./util/abuild/abuild -p none -t google/hatch -x -a Change-Id: I432f437e0c9a618bbbf76d22976ea757c8fbdb83 Signed-off-by: Kangheui Won <khwon@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37817 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
parent
9a5fc849fd
commit
bd3037bfa7
|
@ -15,6 +15,54 @@ chip soc/intel/cannonlake
|
||||||
[PchSerialIoIndexUART2] = PchSerialIoDisabled,
|
[PchSerialIoIndexUART2] = PchSerialIoDisabled,
|
||||||
}"
|
}"
|
||||||
|
|
||||||
|
# Enable eMMC HS400
|
||||||
|
register "ScsEmmcHs400Enabled" = "1"
|
||||||
|
|
||||||
|
# EMMC Tx CMD Delay
|
||||||
|
# Refer to EDS-Vol2-14.3.7.
|
||||||
|
# [14:8] steps of delay for DDR mode, each 125ps, range: 0 - 39.
|
||||||
|
# [6:0] steps of delay for SDR mode, each 125ps, range: 0 - 39.
|
||||||
|
register "common_soc_config.emmc_dll.emmc_tx_cmd_cntl" = "0x505"
|
||||||
|
|
||||||
|
# EMMC TX DATA Delay 1
|
||||||
|
# Refer to EDS-Vol2-14.3.8.
|
||||||
|
# [14:8] steps of delay for HS400, each 125ps, range: 0 - 78.
|
||||||
|
# [6:0] steps of delay for SDR104/HS200, each 125ps, range: 0 - 79.
|
||||||
|
register "common_soc_config.emmc_dll.emmc_tx_data_cntl1" = "0x911"
|
||||||
|
|
||||||
|
# EMMC TX DATA Delay 2
|
||||||
|
# Refer to EDS-Vol2-14.3.9.
|
||||||
|
# [30:24] steps of delay for SDR50, each 125ps, range: 0 - 79.
|
||||||
|
# [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78.
|
||||||
|
# [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 -79.
|
||||||
|
# [6:0] steps of delay for SDR12, each 125ps. Range: 0 - 79.
|
||||||
|
register "common_soc_config.emmc_dll.emmc_tx_data_cntl2" = "0x1C262828"
|
||||||
|
|
||||||
|
# EMMC RX CMD/DATA Delay 1
|
||||||
|
# Refer to EDS-Vol2-14.3.10.
|
||||||
|
# [30:24] steps of delay for SDR50, each 125ps, range: 0 - 119.
|
||||||
|
# [22:16] steps of delay for DDR50, each 125ps, range: 0 - 78.
|
||||||
|
# [14:8] steps of delay for SDR25/HS50, each 125ps, range: 0 - 119.
|
||||||
|
# [6:0] steps of delay for SDR12, each 125ps, range: 0 - 119.
|
||||||
|
register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl1" = "0x1C16583b"
|
||||||
|
|
||||||
|
# EMMC RX CMD/DATA Delay 2
|
||||||
|
# Refer to EDS-Vol2-14.3.12.
|
||||||
|
# [17:16] stands for Rx Clock before Output Buffer,
|
||||||
|
# 00: Rx clock after output buffer,
|
||||||
|
# 01: Rx clock before output buffer,
|
||||||
|
# 10: Automatic selection based on working mode.
|
||||||
|
# 11: Reserved
|
||||||
|
# [14:8] steps of delay for Auto Tuning Mode, each 125ps, range: 0 - 39.
|
||||||
|
# [6:0] steps of delay for HS200, each 125ps, range: 0 - 79.
|
||||||
|
register "common_soc_config.emmc_dll.emmc_rx_cmd_data_cntl2" = "0x1001D"
|
||||||
|
|
||||||
|
# EMMC Rx Strobe Delay
|
||||||
|
# Refer to EDS-Vol2-14.3.11.
|
||||||
|
# [14:8] Rx Strobe Delay DLL 1(HS400 Mode), each 125ps, range: 0 - 39.
|
||||||
|
# [6:0] Rx Strobe Delay DLL 2(HS400 Mode), each 125ps, range: 0 - 39.
|
||||||
|
register "common_soc_config.emmc_dll.emmc_rx_strobe_cntl" = "0x1515"
|
||||||
|
|
||||||
# Intel Common SoC Config
|
# Intel Common SoC Config
|
||||||
#+-------------------+---------------------------+
|
#+-------------------+---------------------------+
|
||||||
#| Field | Value |
|
#| Field | Value |
|
||||||
|
@ -94,6 +142,7 @@ chip soc/intel/cannonlake
|
||||||
device i2c 1a on end
|
device i2c 1a on end
|
||||||
end
|
end
|
||||||
end #I2C #4
|
end #I2C #4
|
||||||
|
device pci 1a.0 on end # eMMC
|
||||||
device pci 1e.3 off end # GSPI #1
|
device pci 1e.3 off end # GSPI #1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue