projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1caf309
)
ARM: 7090/1: CACHE-L2X0: filter start address can be 0 and is often 0
author
Barry Song
<
[email protected]
>
Wed, 14 Sep 2011 02:20:01 +0000
(
03:20
+0100)
committer
Russell King
<
[email protected]
>
Mon, 17 Oct 2011 08:11:40 +0000
(09:11 +0100)
this patch fixes the error in Rob Herring's
ARM: 7009/1: l2x0: Add OF based initialization
http://www.spinics.net/lists/arm-kernel/msg131123.html
it has been in rmk/for-next with commit
41c86ff5b
Cc: Shawn Guo <
[email protected]
>
Cc: Arnd Bergmann <
[email protected]
>
Signed-off-by: Barry Song <
[email protected]
>
Acked-by: Rob Herring <
[email protected]
>
Signed-off-by: Russell King <
[email protected]
>
arch/arm/mm/cache-l2x0.c
patch
|
blob
|
history
diff --git
a/arch/arm/mm/cache-l2x0.c
b/arch/arm/mm/cache-l2x0.c
index a78044885ed5ee6b042944e8c66345d2f9b45bd1..0d85d221d7b031a445042e8871fabedc38849540 100644
(file)
--- a/
arch/arm/mm/cache-l2x0.c
+++ b/
arch/arm/mm/cache-l2x0.c
@@
-437,7
+437,7
@@
static void __init pl310_of_setup(const struct device_node *np,
of_property_read_u32_array(np, "arm,filter-ranges",
filter, ARRAY_SIZE(filter));
- if (filter[
0] && filter[
1]) {
+ if (filter[1]) {
writel_relaxed(ALIGN(filter[0] + filter[1], SZ_1M),
l2x0_base + L2X0_ADDR_FILTER_END);
writel_relaxed((filter[0] & ~(SZ_1M - 1)) | L2X0_ADDR_FILTER_EN,