From 2492a2932487dba00403be594c1bb97a10f42ebe Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 19 Oct 2025 00:00:00 +0200 Subject: [PATCH] ipq53xx: fix bootconfig driver compilation with gcc13 Fix CONFIG_EMMC macro to CONFIG_MMC for compatibility with gcc13 and newer kernel configurations. Signed-off-by: John Crispin --- .../ipq53xx/patches-6.1/803-bootconfig.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 feeds/qca-wifi-7/ipq53xx/patches-6.1/803-bootconfig.patch diff --git a/feeds/qca-wifi-7/ipq53xx/patches-6.1/803-bootconfig.patch b/feeds/qca-wifi-7/ipq53xx/patches-6.1/803-bootconfig.patch new file mode 100644 index 000000000..1f43f5590 --- /dev/null +++ b/feeds/qca-wifi-7/ipq53xx/patches-6.1/803-bootconfig.patch @@ -0,0 +1,11 @@ +--- a/drivers/platform/ipq/bootconfig.c ++++ b/drivers/platform/ipq/bootconfig.c +@@ -593,7 +593,7 @@ static int write_to_flash (struct sbl_if + if (IS_ERR(mtd)) { + /*Flash to EMMC*/ + +-#ifdef CONFIG_EMMC ++#ifdef CONFIG_MMC + for (i = 0; i < MAX_MMC_DEVICE; i++) { + + bdev = blkdev_get_by_dev(MKDEV(MMC_BLOCK_MAJOR,