arm64: dts: rockchip: enable otg-port node of usb2-phy for rk3328-evb
[firefly-linux-kernel-4.4.55.git] / arch / arm / mm / cache-l2x0.c
index 71b3d3309024496570def04990751a634ef4ca02..493692d838c679360c1bcdb61b4ef594b66f7f95 100644 (file)
@@ -1171,6 +1171,11 @@ static void __init l2c310_of_parse(const struct device_node *np,
                }
        }
 
+       if (of_property_read_bool(np, "arm,shared-override")) {
+               *aux_val |= L2C_AUX_CTRL_SHARED_OVERRIDE;
+               *aux_mask &= ~L2C_AUX_CTRL_SHARED_OVERRIDE;
+       }
+
        prefetch = l2x0_saved_regs.prefetch_ctrl;
 
        ret = of_property_read_u32(np, "arm,double-linefill", &val);