* [PATCH] powerpc: Increase warp SD buffer
@ 2009-12-09 5:04 Sean MacLennan
2009-12-09 14:40 ` Josh Boyer
0 siblings, 1 reply; 4+ messages in thread
From: Sean MacLennan @ 2009-12-09 5:04 UTC (permalink / raw)
To: linuxppc-dev, Josh Boyer
Newer revs of the FPGA have a larger SD buffer.
Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
---
diff --git a/arch/powerpc/boot/dts/warp.dts b/arch/powerpc/boot/dts/warp.dts
index 31605ee..e576ee8 100644
--- a/arch/powerpc/boot/dts/warp.dts
+++ b/arch/powerpc/boot/dts/warp.dts
@@ -146,7 +146,7 @@
fpga@2,4000 {
compatible = "pika,fpga-sd";
- reg = <0x00000002 0x00004000 0x00000A00>;
+ reg = <0x00000002 0x00004000 0x00004000>;
};
nor@0,0 {
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] powerpc: Increase warp SD buffer
2009-12-09 5:04 [PATCH] powerpc: Increase warp SD buffer Sean MacLennan
@ 2009-12-09 14:40 ` Josh Boyer
2009-12-09 15:36 ` Sean MacLennan
0 siblings, 1 reply; 4+ messages in thread
From: Josh Boyer @ 2009-12-09 14:40 UTC (permalink / raw)
To: Sean MacLennan; +Cc: linuxppc-dev
On Wed, Dec 09, 2009 at 12:04:37AM -0500, Sean MacLennan wrote:
>Newer revs of the FPGA have a larger SD buffer.
How does that impact the older revisions? You're using a cuImage with Warp,
so the device tree is bundled with that. If you boot a new kernel with this
change to the DTS on a older board revision, will it do bad things?
josh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] powerpc: Increase warp SD buffer
2009-12-09 14:40 ` Josh Boyer
@ 2009-12-09 15:36 ` Sean MacLennan
2009-12-09 15:47 ` Josh Boyer
0 siblings, 1 reply; 4+ messages in thread
From: Sean MacLennan @ 2009-12-09 15:36 UTC (permalink / raw)
To: Josh Boyer, linuxppc-dev
On Wed, 9 Dec 2009 09:40:55 -0500
Josh Boyer <jwboyer@linux.vnet.ibm.com> wrote:
> How does that impact the older revisions? You're using a cuImage
> with Warp, so the device tree is bundled with that. If you boot a
> new kernel with this change to the DTS on a older board revision,
> will it do bad things?
The new SD driver takes care of that. If you use the new kernel with an
old FPGA you reserve more space than you need, but the driver will not
touch it.
And if you somehow end up with the new DTS on an older kernel, the old
SD driver will not use the space anyway since the buffer is limited to
one block.
The SD driver is not in the kernel proper because it was implemented in
the FPGA and has a non-standard interface. It requires a change to the
SD core to run. But it is GPLed, so if anybody wants to see it, just
ask.
Cheers,
Sean
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] powerpc: Increase warp SD buffer
2009-12-09 15:36 ` Sean MacLennan
@ 2009-12-09 15:47 ` Josh Boyer
0 siblings, 0 replies; 4+ messages in thread
From: Josh Boyer @ 2009-12-09 15:47 UTC (permalink / raw)
To: Sean MacLennan; +Cc: linuxppc-dev
On Wed, Dec 09, 2009 at 10:36:45AM -0500, Sean MacLennan wrote:
>On Wed, 9 Dec 2009 09:40:55 -0500
>Josh Boyer <jwboyer@linux.vnet.ibm.com> wrote:
>
>> How does that impact the older revisions? You're using a cuImage
>> with Warp, so the device tree is bundled with that. If you boot a
>> new kernel with this change to the DTS on a older board revision,
>> will it do bad things?
>
>The new SD driver takes care of that. If you use the new kernel with an
>old FPGA you reserve more space than you need, but the driver will not
>touch it.
>
>And if you somehow end up with the new DTS on an older kernel, the old
>SD driver will not use the space anyway since the buffer is limited to
>one block.
>
>The SD driver is not in the kernel proper because it was implemented in
>the FPGA and has a non-standard interface. It requires a change to the
>SD core to run. But it is GPLed, so if anybody wants to see it, just
>ask.
OK thanks. I figured something like that would be the case, but wanted to
verify first.
josh
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-09 15:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09 5:04 [PATCH] powerpc: Increase warp SD buffer Sean MacLennan
2009-12-09 14:40 ` Josh Boyer
2009-12-09 15:36 ` Sean MacLennan
2009-12-09 15:47 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).