From: Zoltan HERPAI Date: Mon, 22 May 2023 21:57:33 +0000 (+0200) Subject: sh775x: fix missing symbols X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9cd5230bf5e35775eedc5b71049c3d8450ff2845;p=openwrt%2Fstaging%2Fwigyori.git sh775x: fix missing symbols Signed-off-by: Zoltan HERPAI --- diff --git a/target/linux/sh775x/config-6.1 b/target/linux/sh775x/config-6.1 index 95d01401ba..f87525ea1a 100644 --- a/target/linux/sh775x/config-6.1 +++ b/target/linux/sh775x/config-6.1 @@ -2,6 +2,7 @@ CONFIG_29BIT=y # CONFIG_4KSTACKS is not set CONFIG_8139CP=y CONFIG_ARCH_32BIT_OFF_T=y +CONFIG_ARCH_FORCE_MAX_ORDER=11 CONFIG_ARCH_HIBERNATION_POSSIBLE=y CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y CONFIG_ARCH_SELECT_MEMORY_MODEL=y @@ -35,6 +36,7 @@ CONFIG_CPU_HAS_FPU=y CONFIG_CPU_HAS_INTEVT=y CONFIG_CPU_HAS_PMU=y CONFIG_CPU_HAS_SR_RB=y +CONFIG_CPU_LITTLE_ENDIAN=y CONFIG_CPU_NO_EFFICIENT_FFS=y CONFIG_CPU_SH4=y # CONFIG_CPU_SUBTYPE_J2 is not set diff --git a/target/linux/suniv/patches-6.1/0001-series.patch b/target/linux/suniv/patches-6.1/0001-series.patch deleted file mode 100644 index 31405648d6..0000000000 --- a/target/linux/suniv/patches-6.1/0001-series.patch +++ /dev/null @@ -1,57 +0,0 @@ -Allwinner ARMv5 F1C100s has similar sram controller to sun4i A10 -Add compatible strings for it. - -Signed-off-by: Mesih Kilinc -Acked-by: Maxime Ripard ---- - drivers/soc/sunxi/sunxi_sram.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/drivers/soc/sunxi/sunxi_sram.c b/drivers/soc/sunxi/sunxi_sram.c -index b4b0f34..27f0607 100644 ---- a/drivers/soc/sunxi/sunxi_sram.c -+++ b/drivers/soc/sunxi/sunxi_sram.c -@@ -99,6 +99,10 @@ static const struct of_device_id sunxi_sram_dt_ids[] = { - .compatible = "allwinner,sun50i-a64-sram-c", - .data = &sun50i_a64_sram_c.data, - }, -+ { -+ .compatible = "allwinner,suniv-f1c100s-sram-d", -+ .data = &sun4i_a10_sram_d.data, -+ }, - {} - }; - -@@ -389,6 +393,10 @@ static const struct of_device_id sunxi_sram_dt_match[] = { - .compatible = "allwinner,sun50i-a64-system-control", - .data = &sun50i_a64_sramc_variant, - }, -+ { -+ .compatible = "allwinner,suniv-f1c100s-system-control", -+ .data = &sun4i_a10_sramc_variant, -+ }, - { }, - }; - MODULE_DEVICE_TABLE(of, sunxi_sram_dt_match); - -Allwinner ARMv5 F1C100s has similar watchdog timer to sun6i A31. -Add compatible string for it. - -Signed-off-by: Mesih Kilinc ---- - drivers/watchdog/sunxi_wdt.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/drivers/watchdog/sunxi_wdt.c b/drivers/watchdog/sunxi_wdt.c -index c6c7365..bc70742 100644 ---- a/drivers/watchdog/sunxi_wdt.c -+++ b/drivers/watchdog/sunxi_wdt.c -@@ -227,6 +227,7 @@ static const struct sunxi_wdt_reg sun6i_wdt_reg = { - static const struct of_device_id sunxi_wdt_dt_ids[] = { - { .compatible = "allwinner,sun4i-a10-wdt", .data = &sun4i_wdt_reg }, - { .compatible = "allwinner,sun6i-a31-wdt", .data = &sun6i_wdt_reg }, -+ { .compatible = "allwinner,suniv-f1c100s-wdt", .data = &sun6i_wdt_reg }, - { /* sentinel */ } - }; - MODULE_DEVICE_TABLE(of, sunxi_wdt_dt_ids); -