diff options
author | Luka Perkov <luka@openwrt.org> | 2013-09-27 01:52:28 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-09-27 01:52:28 +0000 |
commit | e0e36cb5d987c6515f2b9c6ed4e4df6c84f18541 (patch) | |
tree | 90b32b568e37dd68264a916ebdcdb807897b2451 /target/linux/mvebu/patches-3.8/030-arm_plat_orion_introduce_win_ctrl_enable.patch | |
parent | 896a6277b51daa7f253d849a7a501959dfcf705e (diff) | |
download | master-187ad058-e0e36cb5d987c6515f2b9c6ed4e4df6c84f18541.tar.gz master-187ad058-e0e36cb5d987c6515f2b9c6ed4e4df6c84f18541.tar.bz2 master-187ad058-e0e36cb5d987c6515f2b9c6ed4e4df6c84f18541.zip |
mvebu: drop 3.8 support
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38225 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/patches-3.8/030-arm_plat_orion_introduce_win_ctrl_enable.patch')
-rw-r--r-- | target/linux/mvebu/patches-3.8/030-arm_plat_orion_introduce_win_ctrl_enable.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/target/linux/mvebu/patches-3.8/030-arm_plat_orion_introduce_win_ctrl_enable.patch b/target/linux/mvebu/patches-3.8/030-arm_plat_orion_introduce_win_ctrl_enable.patch deleted file mode 100644 index 9a237ec9b9..0000000000 --- a/target/linux/mvebu/patches-3.8/030-arm_plat_orion_introduce_win_ctrl_enable.patch +++ /dev/null @@ -1,28 +0,0 @@ -Instead of hardcoding "1" as being the bit value to enable an address -decoding window, introduce and use a WIN_CTRL_ENABLE definition. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> ---- - arch/arm/plat-orion/addr-map.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - ---- a/arch/arm/plat-orion/addr-map.c -+++ b/arch/arm/plat-orion/addr-map.c -@@ -38,6 +38,7 @@ EXPORT_SYMBOL_GPL(mv_mbus_dram_info); - * CPU Address Decode Windows registers - */ - #define WIN_CTRL_OFF 0x0000 -+#define WIN_CTRL_ENABLE BIT(0) - #define WIN_BASE_OFF 0x0004 - #define WIN_REMAP_LO_OFF 0x0008 - #define WIN_REMAP_HI_OFF 0x000c -@@ -79,7 +80,8 @@ void __init orion_setup_cpu_win(const st - } - - base_high = base & 0xffff0000; -- ctrl = ((size - 1) & 0xffff0000) | (attr << 8) | (target << 4) | 1; -+ ctrl = ((size - 1) & 0xffff0000) | (attr << 8) | (target << 4) | -+ WIN_CTRL_ENABLE; - - writel(base_high, addr + WIN_BASE_OFF); - writel(ctrl, addr + WIN_CTRL_OFF); |