blob: 5b9548cbc3d9ad3ef6e3463d81ccf0c0700ca358 [file] [log] [blame]
require linux-gbmc.inc
KERNEL_VERSION_SANITY_SKIP = "1"
LINUX_MAJOR = "6.11"
LINUX_VERSION = "${LINUX_MAJOR}.1"
PV = "stable-${LINUX_VERSION}"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
S = "${WORKDIR}/linux-${LINUX_MAJOR}"
SRC_URI:prepend = " \
${KERNELORG_MIRROR}/linux/kernel/v6.x/linux-${LINUX_MAJOR}.tar.xz;sha256sum=55d2c6c025ebc27810c748d66325dd5bc601e8d32f8581d9e77673529bdacb2e \
${KERNELORG_MIRROR}/linux/kernel/v6.x/patch-${LINUX_VERSION}.xz;sha256sum=e209cd7f59dd57a6c5c3c6ce5bc7c494401a695e323e635e2a62c708c07095c0 \
"
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-ARM-npcm-Add-CPU-hotplug-callbacks-for-kexec-support.patch \
file://0001-hwmon-max34451-Workaround-for-lost-page.patch \
file://0001-ARM-dts-nuvoton-Add-UDC-nodes.patch \
file://0001-i2c-npcm-correct-the-read-write-operation-procedure.patch \
file://0002-i2c-npcm-use-a-software-flag-to-indicate-a-BER-condi.patch \
file://0003-i2c-npcm-Modify-timeout-evaluation-mechanism.patch \
file://0004-i2c-npcm-Assign-client-address-earlier-for-i2c_recov.patch \
file://0005-i2c-npcm-use-i2c-frequency-table.patch \
file://0006-i2c-npcm-Enable-slave-in-eob-interrupt.patch \
file://DOWNSTREAM_0001-i2c-npcm-speed-set.patch \
"
# Newer kernels don't have HGPIO in pinctrl names
do_ksrc_splice:append:npcm7xx() {
sed -i 's,/HGPIO[0-9],,' ${S}/arch/arm/boot/dts/nuvoton/npcm7xx-gbmc-common.dtsi
}