* [PATCH 1/2] zynq: Do not explicitely enable icache
@ 2014-01-03 9:42 ` Michal Simek
0 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2014-01-03 9:42 UTC (permalink / raw)
To: linux-arm-kernel
icache is already enabled by default.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
board/xilinx/zynq/board.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c
index 5119c09..7c1632f 100644
--- a/board/xilinx/zynq/board.c
+++ b/board/xilinx/zynq/board.c
@@ -49,8 +49,6 @@ int board_init(void)
}
#endif
- icache_enable();
-
#ifdef CONFIG_FPGA
fpga_init();
fpga_add(fpga_xilinx, &fpga);
--
1.8.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140103/2364a0db/attachment-0001.sig>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 1/2] zynq: Do not explicitely enable icache
@ 2014-01-03 9:42 ` Michal Simek
0 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2014-01-03 9:42 UTC (permalink / raw)
To: u-boot
icache is already enabled by default.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
board/xilinx/zynq/board.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c
index 5119c09..7c1632f 100644
--- a/board/xilinx/zynq/board.c
+++ b/board/xilinx/zynq/board.c
@@ -49,8 +49,6 @@ int board_init(void)
}
#endif
- icache_enable();
-
#ifdef CONFIG_FPGA
fpga_init();
fpga_add(fpga_xilinx, &fpga);
--
1.8.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140103/2364a0db/attachment.pgp>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/2] zynq: Enable dcache support
2014-01-03 9:42 ` [U-Boot] " Michal Simek
@ 2014-01-03 9:42 ` Michal Simek
-1 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2014-01-03 9:42 UTC (permalink / raw)
To: linux-arm-kernel
Enable dcache.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
arch/arm/cpu/armv7/zynq/cpu.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/cpu/armv7/zynq/cpu.c b/arch/arm/cpu/armv7/zynq/cpu.c
index 9af340e..c771759 100644
--- a/arch/arm/cpu/armv7/zynq/cpu.c
+++ b/arch/arm/cpu/armv7/zynq/cpu.c
@@ -46,3 +46,11 @@ void reset_cpu(ulong addr)
while (1)
;
}
+
+#ifndef CONFIG_SYS_DCACHE_OFF
+void enable_caches(void)
+{
+ /* Enable D-cache. I-cache is already enabled in start.S */
+ dcache_enable();
+}
+#endif
--
1.8.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140103/c14c41fa/attachment.sig>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 2/2] zynq: Enable dcache support
@ 2014-01-03 9:42 ` Michal Simek
0 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2014-01-03 9:42 UTC (permalink / raw)
To: u-boot
Enable dcache.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
arch/arm/cpu/armv7/zynq/cpu.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/cpu/armv7/zynq/cpu.c b/arch/arm/cpu/armv7/zynq/cpu.c
index 9af340e..c771759 100644
--- a/arch/arm/cpu/armv7/zynq/cpu.c
+++ b/arch/arm/cpu/armv7/zynq/cpu.c
@@ -46,3 +46,11 @@ void reset_cpu(ulong addr)
while (1)
;
}
+
+#ifndef CONFIG_SYS_DCACHE_OFF
+void enable_caches(void)
+{
+ /* Enable D-cache. I-cache is already enabled in start.S */
+ dcache_enable();
+}
+#endif
--
1.8.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140103/c14c41fa/attachment.pgp>
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 1/2] zynq: Do not explicitely enable icache
2014-01-03 9:42 ` [U-Boot] " Michal Simek
@ 2014-01-03 12:52 ` Arnd Bergmann
-1 siblings, 0 replies; 9+ messages in thread
From: Arnd Bergmann @ 2014-01-03 12:52 UTC (permalink / raw)
To: linux-arm-kernel
On Friday 03 January 2014, Michal Simek wrote:
> icache is already enabled by default.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> board/xilinx/zynq/board.c | 2 --
> 1 file changed, 2 deletions(-)
You had me confused for a bit. Please mark u-boot patches as such
when you send them to the kernel mailing list, and vice-versa.
Arnd
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 1/2] zynq: Do not explicitely enable icache
@ 2014-01-03 12:52 ` Arnd Bergmann
0 siblings, 0 replies; 9+ messages in thread
From: Arnd Bergmann @ 2014-01-03 12:52 UTC (permalink / raw)
To: u-boot
On Friday 03 January 2014, Michal Simek wrote:
> icache is already enabled by default.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
> board/xilinx/zynq/board.c | 2 --
> 1 file changed, 2 deletions(-)
You had me confused for a bit. Please mark u-boot patches as such
when you send them to the kernel mailing list, and vice-versa.
Arnd
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/2] zynq: Do not explicitely enable icache
2014-01-03 12:52 ` [U-Boot] " Arnd Bergmann
(?)
@ 2014-01-03 13:34 ` Michal Simek
-1 siblings, 0 replies; 9+ messages in thread
From: Michal Simek @ 2014-01-03 13:34 UTC (permalink / raw)
To: linux-arm-kernel
On 01/03/2014 01:52 PM, Arnd Bergmann wrote:
> On Friday 03 January 2014, Michal Simek wrote:
>> icache is already enabled by default.
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> ---
>>
>> board/xilinx/zynq/board.c | 2 --
>> 1 file changed, 2 deletions(-)
>
> You had me confused for a bit. Please mark u-boot patches as such
> when you send them to the kernel mailing list, and vice-versa.
oou. Patman (tools I use for sending patches to mailing list)
took arm prefix because of my bad setting.
Sorry for that.
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140103/62504f87/attachment.sig>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/2] zynq: Do not explicitely enable icache
2014-01-03 12:52 ` [U-Boot] " Arnd Bergmann
@ 2014-01-03 14:21 ` Russell King - ARM Linux
-1 siblings, 0 replies; 9+ messages in thread
From: Russell King - ARM Linux @ 2014-01-03 14:21 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jan 03, 2014 at 01:52:51PM +0100, Arnd Bergmann wrote:
> On Friday 03 January 2014, Michal Simek wrote:
> > icache is already enabled by default.
> >
> > Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> > ---
> >
> > board/xilinx/zynq/board.c | 2 --
> > 1 file changed, 2 deletions(-)
>
> You had me confused for a bit. Please mark u-boot patches as such
> when you send them to the kernel mailing list, and vice-versa.
Better still, they shouldn't be sent to the kernel mailing lists in the
first place - they're off-topic here.
--
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot] [PATCH 1/2] zynq: Do not explicitely enable icache
@ 2014-01-03 14:21 ` Russell King - ARM Linux
0 siblings, 0 replies; 9+ messages in thread
From: Russell King - ARM Linux @ 2014-01-03 14:21 UTC (permalink / raw)
To: u-boot
On Fri, Jan 03, 2014 at 01:52:51PM +0100, Arnd Bergmann wrote:
> On Friday 03 January 2014, Michal Simek wrote:
> > icache is already enabled by default.
> >
> > Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> > ---
> >
> > board/xilinx/zynq/board.c | 2 --
> > 1 file changed, 2 deletions(-)
>
> You had me confused for a bit. Please mark u-boot patches as such
> when you send them to the kernel mailing list, and vice-versa.
Better still, they shouldn't be sent to the kernel mailing lists in the
first place - they're off-topic here.
--
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up. Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-01-03 14:21 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-03 9:42 [PATCH 1/2] zynq: Do not explicitely enable icache Michal Simek
2014-01-03 9:42 ` [U-Boot] " Michal Simek
2014-01-03 9:42 ` [PATCH 2/2] zynq: Enable dcache support Michal Simek
2014-01-03 9:42 ` [U-Boot] " Michal Simek
2014-01-03 12:52 ` [PATCH 1/2] zynq: Do not explicitely enable icache Arnd Bergmann
2014-01-03 12:52 ` [U-Boot] " Arnd Bergmann
2014-01-03 13:34 ` Michal Simek
2014-01-03 14:21 ` Russell King - ARM Linux
2014-01-03 14:21 ` [U-Boot] " Russell King - ARM Linux
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.