]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Revert "arm64: Layerscape: Survive LPI one-way reset workaround"
authorTom Rini <trini@konsulko.com>
Wed, 27 Oct 2021 16:54:53 +0000 (18:54 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 31 Oct 2021 03:07:51 +0000 (23:07 -0400)
Ad-hoc bindings that are not part of the upstream device tree / bindings
are not allowed in-tree.  Only bindings that are in-progress with
upstream and then re-synced once agreed upon are.

This reverts commit af288cb291da3abef6be0875527729296f7de7a0.

Cc: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Cc: Priyanka Jain <priyanka.jain@nxp.com>
Reported-by: Michael Walle <michael@walle.cc>
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Marc Zyngier <maz@kernel.org>
arch/arm/cpu/armv8/fsl-layerscape/soc.c
arch/arm/dts/fsl-ls1028a.dtsi
arch/arm/dts/fsl-ls1088a.dtsi
arch/arm/dts/fsl-ls2080a.dtsi
arch/arm/dts/fsl-lx2160a.dtsi

index 9820d3290e763f0c1bc9b711cf0f00cbef8d0174..c0e100d21c24167f00939ce00388261a4ed3be8f 100644 (file)
@@ -43,23 +43,7 @@ DECLARE_GLOBAL_DATA_PTR;
 #ifdef CONFIG_GIC_V3_ITS
 int ls_gic_rd_tables_init(void *blob)
 {
-       struct fdt_memory lpi_base;
-       fdt_addr_t addr;
-       fdt_size_t size;
-       int offset, ret;
-
-       offset = fdt_path_offset(gd->fdt_blob, "/syscon@0x80000000");
-       addr = fdtdec_get_addr_size_auto_noparent(gd->fdt_blob, offset, "reg",
-                                                 0, &size, false);
-
-       lpi_base.start = addr;
-       lpi_base.end = addr + size - 1;
-       ret = fdtdec_add_reserved_memory(blob, "lpi_rd_table", &lpi_base, NULL,
-                                        0, NULL, 0);
-       if (ret) {
-               debug("%s: failed to add reserved memory\n", __func__);
-               return ret;
-       }
+       int ret;
 
        ret = gic_lpi_tables_init();
        if (ret)
index 50f9b527cde1d4e9aeb79af67aafd79403f21589..53b052ed32710e786ef602e2aada1ae7b029a7d3 100644 (file)
                                         IRQ_TYPE_LEVEL_LOW)>;
        };
 
-       gic_lpi_base: syscon@0x80000000 {
-               compatible = "gic-lpi-base";
-               reg = <0x0 0x80000000 0x0 0x100000>;
-               max-gic-redistributors = <2>;
-       };
-
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) |
index 64caa600ad77624135206aff28778b8dac5cf700..3a5a50fb8313f4f7c29ee473d7575e94c5249050 100644 (file)
                interrupts = <1 9 0x4>;
        };
 
-       gic_lpi_base: syscon@0x80000000 {
-               compatible = "gic-lpi-base";
-               reg = <0x0 0x80000000 0x0 0x100000>;
-               max-gic-redistributors = <8>;
-       };
-
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
index 7374d580e07e5f78048d445a5be07330be8d16a9..278daeeb6eea9f6264615b1fd2ecd511f4e2bf3a 100644 (file)
                interrupts = <1 9 0x4>;
        };
 
-       gic_lpi_base: syscon@0x80000000 {
-               compatible = "gic-lpi-base";
-               reg = <0x0 0x80000000 0x0 0x100000>;
-               max-gic-redistributors = <8>;
-       };
-
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */
index a6f0e9bc56bee483a409451a97d69680c0fe6308..3b5f0d119e7644d0ebcc8fdbe018754e7ddb3f9d 100644 (file)
                interrupts = <1 9 0x4>;
        };
 
-       gic_lpi_base: syscon@0x80000000 {
-               compatible = "gic-lpi-base";
-               reg = <0x0 0x80000000 0x0 0x200000>;
-               max-gic-redistributors = <16>;
-       };
-
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <1 13 0x8>, /* Physical Secure PPI, active-low */