* How to set DDR data bus width to 16Bit
@ 2009-07-02 8:17 Frank Prepelica
2009-07-02 9:04 ` Norbert van Bolhuis
0 siblings, 1 reply; 2+ messages in thread
From: Frank Prepelica @ 2009-07-02 8:17 UTC (permalink / raw)
To: linuxppc-dev
Hi all,
Does anyone knows how to set the DDR data bus width to 16Bit in linux?
I've found that=20
option in U-Boot in the MPC8313ERDB_config file. (verfied with a memory
dump of the=20
CPU register (DDR_SDRAM_CFG) - the 16Bit DBW is set(10b) ). But after
starting=20
linux the value is set to 00b (=3Dreseverd).
We are using a customized MPC8313ERDB board.
Thanks in advance
Kind regards
Frank Prepelica
Software Design Engineer
Ubidyne GmbH
Lise-Meitner-Str.-14
89081 Ulm - Germany
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to set DDR data bus width to 16Bit
2009-07-02 8:17 How to set DDR data bus width to 16Bit Frank Prepelica
@ 2009-07-02 9:04 ` Norbert van Bolhuis
0 siblings, 0 replies; 2+ messages in thread
From: Norbert van Bolhuis @ 2009-07-02 9:04 UTC (permalink / raw)
To: Frank Prepelica; +Cc: linuxppc-dev
you have to do it via your bootloader (u-boot) which sets up
the DDR memory controller.
Linux (already) assumes memory is available.
Are you sure linux kernel is changing DDR_SDRAM_CFG ?
When our linux-2.6.28 kernel is up, it's still 0xc3080000 when I read
physical address 0xe0002110.
Btw. We did some performance tests with 16 bit bus-width (DDR2 memory)
and surprisingly performance was almost as good as 32 bit bus-width
---
N. van Bolhuis.
Frank Prepelica wrote:
> Hi all,
>
> Does anyone knows how to set the DDR data bus width to 16Bit in linux?
> I've found that
> option in U-Boot in the MPC8313ERDB_config file. (verfied with a memory
> dump of the
> CPU register (DDR_SDRAM_CFG) - the 16Bit DBW is set(10b) ). But after
> starting
> linux the value is set to 00b (=reseverd).
>
> We are using a customized MPC8313ERDB board.
>
> Thanks in advance
>
>
> Kind regards
>
> Frank Prepelica
> Software Design Engineer
>
> Ubidyne GmbH
> Lise-Meitner-Str.-14
> 89081 Ulm - Germany
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-02 9:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-02 8:17 How to set DDR data bus width to 16Bit Frank Prepelica
2009-07-02 9:04 ` Norbert van Bolhuis
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).