sh775x: fix missing symbols
authorZoltan HERPAI <wigyori@uid0.hu>
Mon, 22 May 2023 21:57:33 +0000 (23:57 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Mon, 22 May 2023 21:57:33 +0000 (23:57 +0200)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
target/linux/sh775x/config-6.1
target/linux/suniv/patches-6.1/0001-series.patch [deleted file]

index 95d01401baa2eff207a7498e237ad63316136533..f87525ea1a424e38ccb9de18824571c49b83a8f0 100644 (file)
@@ -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 (file)
index 3140564..0000000
+++ /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 <mesihkilinc@gmail.com>
-Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
----
- 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 <mesihkilinc@gmail.com>
----
- 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);
-