blob: 6be0306cca087d0730d036a64eec179ce9fa308c [file] [log] [blame]
require linux-gbmc.inc
KBRANCH = "gbmc-5.15"
LINUX_VERSION = "5.15.120"
SRCREV = "1720a480503b8bcf69419c11af5fdaf54fa43d03"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
PACKAGECONFIG[diorite_c0] = ""
FILESEXTRAPATHS:prepend := "${THISDIR}/5.15:"
SRC_URI += " \
file://DOWNSTREAM_0002-mtd-spi-nor-macronix-Add-google-compatible-flash-IDs.patch \
"
SRC_URI:append:npcm7xx = "\
${@bb.utils.contains('PACKAGECONFIG', 'diorite_c0', 'file://0001-Diorite-workaround-for-c0-card.patch', '', d)} \
"
SRC_URI:append:aspeed-g6 = " \
file://0001-net-ftgmac100-Support-for-fixed-PHYs.patch \
file://DOWNSTREAM_0002-kernel-Ensure-only-3-byte-read-command-can-be-sent.patch \
file://0003-net-ftgmac100-Add-scu-reset-toggling.patch \
file://0003-ftgmac100-enlarge-the-ring-size.patch \
"
# Aspeed eMMC driver fixes.
# The commit "mmc-aspeed-fix-sdhci-software-reset-can-t-be-cleared" allows us
# to recover from any sdhci errors. That fix resolves b/267685954, where we
# found that some machines hit sdhci errors during initialization, which the
# driver couldn't recover from, leaving the eMMC unusable until the BMC reboots.
# The other 3 patches are dependencies needed by that fix.
SRC_URI:append:aspeed-g6 = " \
file://0001-sdhci-aspeed-Add-SDR50-support.patch \
file://0002-arm-dts-aspeed-Change-eMMC-device-compatible.patch \
file://0003-mmc-aspeed-Adjust-delay-taps-calculation-method.patch \
file://0004-mmc-aspeed-fix-sdhci-software-reset-can-t-be-cleared.patch \
"