blob: 6e04ba66a775a26ad14aa49c13bf8f0832b7d55d [file]
require linux-gbmc.inc
KERNEL_VERSION_SANITY_SKIP = "1"
LINUX_MAJOR = "6.6"
LINUX_VERSION = "${LINUX_MAJOR}.106"
KBRANCH = "linux-${LINUX_MAJOR}.y"
PV = "aspeedg7-${LINUX_VERSION}"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
SRC_URI:prepend = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git;protocol=https;branch=linux-${LINUX_MAJOR}.y"
SRCREV = "60a9e718726fa7019ae00916e4b1c52498da5b60"
SRC_URI:append = " \
file://0001-jffs2-add-RENAME_EXCHANGE-support.patch \
file://0001-mux-Make-it-possible-to-select-MULTIPLEXER-if-EXPERT.patch \
file://0001-hwmon-Add-driver-for-MPS-MPQ8785-Synchronous-Step-Do.patch \
file://0001-hwmon-pmbus-Add-ltc4286-driver.patch \
file://0001-hwmon-max34451-Workaround-for-lost-page.patch \
file://0001-PRODKERNEL-platforms-i2c-I2C-over-USB-driver.patch \
file://0001-platforms-i2c-i2c-usb-update-a-few-nits.patch \
"
SRC_URI:append:aspeed-g7 = " \
file://aspeed-g7-gbmc.cfg \
"
# TODO(b/386134258): ask Aspeed to upstream below
# All these dirvers are porting from SDK v09.08 kernel
# https://github.com/AspeedTech-BMC/linux/releases/tag/v00.06.08
FILESEXTRAPATHS:prepend:aspeed-g7 := "${THISDIR}/aspeed_g7_files:"
SRC_URI:append:aspeed-g7 = " \
file://0001-Add-arch-files-for-ast2700.patch \
file://0002-Add-dt-bindings-head-file-for-ast2700.patch \
file://0003-Add-reset-controller-driver-for-ast2700.patch \
file://0004-Add-irqchip-driver-for-ast2700.patch \
file://0005-Add-pinctrl-driver-for-ast2700.patch \
file://0006-Add-clk-driver-for-ast2700.patch \
file://0007-Add-uart-vuart-udma-drvier-for-ast2700.patch \
file://0008-Add-SPI-driver-for-ast2700.patch \
file://0009-Add-watchdog-driver-for-ast2700.patch \
file://0010-Add-net-ftgmac-driver-for-ast2700.patch \
file://0011-Add-gpio-sgpio-driver-for-ast2700.patch \
file://0012-Add-i2c-driver-for-ast2700.patch \
file://0013-Add-emmc-driver-for-ast2700.patch \
file://0014-Add-jtag-driver-for-ast2700.patch \
file://0015-Add-ADC-driver-for-ast2700.patch \
file://0016-Add-RTC-driver-for-ast2700.patch \
file://0017-Add-i3c-driver-for-ast2700.patch \
file://0018-Add-SOC-drivers-for-ast2700.patch \
file://0019-Add-RNG-driver-for-ast2700.patch \
file://0020-Add-crypto-driver-for-ast2700.patch \
file://0021-Add-USB-uhci-ehci-driver-for-ast2700.patch \
file://0022-Add-USB-Virtual-Hub-Controller-driver-for-ast2700.patch \
file://0023-Add-DRAM-EDAC-driver-for-ast2700.patch \
file://0024-Add-USB3-phy-driver-for-ast2700.patch \
file://0025-bus-Add-Aspeed-LTPI-bus-controller-driver.patch \
file://0026-Add-LTPI-GPIO-driver-for-ast2700.patch \
file://0027-mctp-phy-binding.patch \
file://0028-mctp-i3c-MCTP-I3C-driver.patch \
file://0029-mctp-i2c-MCTP-I2C-driver.patch \
file://0030-mctp-serial-MCTP-UART-driver.patch \
file://0031-mctp-route.patch \
file://0032-i3c-mipi-i3c-hci-handle-IBIs-targeting-master-device.patch \
"
SRC_URI:append:aspeed-g7 = " \
file://0011-Prevent-processing-stale-DMA-data-on-spurious-interr.patch \
"
# Renesas I3C hub
SRC_URI:append:aspeed-g7 = " \
file://0001-i3c-i3c-hub-Fix-SMBus-Agent-tx-timeout-issue.patch \
file://0002-i3c-i3c-hub-Fix-SMBus-Agent-Rx-buf-id-mismatch.patch \
file://i3c-hub.cfg \
"
# Server3.0 ast2750 customized patches
SRC_URI:append:aspeed-g7 = " \
file://0027-Add-setting-SGPIO-default-value.patch \
file://0030-data-transfer-to-reserved-memory-for-edaf.patch \
file://0030-Add-PWM-Rate-of-Change-configuration.patch \
"
KCONFIG_MODE="--allnoconfig"
# TODO(b/373416015) Remove this to enable CONFIGCHECK
GBMC_CONFIGCHECK = "0"