diff options
author | Luka Perkov <luka@openwrt.org> | 2014-06-29 23:29:57 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-06-29 23:29:57 +0000 |
commit | 26b06940a9bd894c1a21d76b160a3daea0843417 (patch) | |
tree | a733913cc70070f76d2d10693c57a9f97e11ba5e /target/linux/mvebu/patches-3.10/0166-clocksource-armada-370-xp-Use-BIT.patch | |
parent | be2a05778792e34afffff28a28091acfb2984b63 (diff) | |
download | upstream-26b06940a9bd894c1a21d76b160a3daea0843417.tar.gz upstream-26b06940a9bd894c1a21d76b160a3daea0843417.tar.bz2 upstream-26b06940a9bd894c1a21d76b160a3daea0843417.zip |
mvebu: drop 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 41406
Diffstat (limited to 'target/linux/mvebu/patches-3.10/0166-clocksource-armada-370-xp-Use-BIT.patch')
-rw-r--r-- | target/linux/mvebu/patches-3.10/0166-clocksource-armada-370-xp-Use-BIT.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/target/linux/mvebu/patches-3.10/0166-clocksource-armada-370-xp-Use-BIT.patch b/target/linux/mvebu/patches-3.10/0166-clocksource-armada-370-xp-Use-BIT.patch deleted file mode 100644 index 8f07046a17..0000000000 --- a/target/linux/mvebu/patches-3.10/0166-clocksource-armada-370-xp-Use-BIT.patch +++ /dev/null @@ -1,37 +0,0 @@ -From ea331be867c791bca8200e6d707499845d8dfa87 Mon Sep 17 00:00:00 2001 -From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> -Date: Tue, 13 Aug 2013 11:43:10 -0300 -Subject: [PATCH 166/203] clocksource: armada-370-xp: Use BIT() - -This is a purely cosmetic commit: we replace hardcoded values that -representing bits by BIT(), which is slightly more readable. - -Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> -Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> -Reviewed-by: Andrew Lunn <andrew@lunn.ch> ---- - drivers/clocksource/time-armada-370-xp.c | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - ---- a/drivers/clocksource/time-armada-370-xp.c -+++ b/drivers/clocksource/time-armada-370-xp.c -@@ -35,13 +35,13 @@ - * Timer block registers. - */ - #define TIMER_CTRL_OFF 0x0000 --#define TIMER0_EN 0x0001 --#define TIMER0_RELOAD_EN 0x0002 --#define TIMER0_25MHZ 0x0800 -+#define TIMER0_EN BIT(0) -+#define TIMER0_RELOAD_EN BIT(1) -+#define TIMER0_25MHZ BIT(11) - #define TIMER0_DIV(div) ((div) << 19) --#define TIMER1_EN 0x0004 --#define TIMER1_RELOAD_EN 0x0008 --#define TIMER1_25MHZ 0x1000 -+#define TIMER1_EN BIT(2) -+#define TIMER1_RELOAD_EN BIT(3) -+#define TIMER1_25MHZ BIT(12) - #define TIMER1_DIV(div) ((div) << 22) - #define TIMER_EVENTS_STATUS 0x0004 - #define TIMER0_CLR_MASK (~0x1) |