From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 08/11] arm, davinci: add lowlevel function for dm365 soc
Date: Wed, 26 Oct 2011 08:17:53 +0200 [thread overview]
Message-ID: <4EA7A611.2010900@denx.de> (raw)
In-Reply-To: <CABkLObrgNaXGjQs1Lmn9d=-ZhcsqCnU7RqQDOg2Qg_zWRv88_w@mail.gmail.com>
Hello Christian,
Christian Riesch wrote:
> Good morning Heiko,
>
> On Monday, October 24, 2011, Heiko Schocher <hs@denx.de> wrote:
>
> [...]
>
>> arch/arm/cpu/arm926ejs/davinci/dm365_lowlevel.c | 466
> ++++++++++++++++++++
>> arch/arm/include/asm/arch-davinci/dm365_lowlevel.h | 43 ++
>> 2 files changed, 509 insertions(+), 0 deletions(-)
>> create mode 100644 arch/arm/cpu/arm926ejs/davinci/dm365_lowlevel.c
>> create mode 100644 arch/arm/include/asm/arch-davinci/dm365_lowlevel.h
>>
>> diff --git a/arch/arm/cpu/arm926ejs/davinci/dm365_lowlevel.c
> b/arch/arm/cpu/arm926ejs/davinci/dm365_lowlevel.c
>> new file mode 100644
>> index 0000000..d7c6a3e
>> --- /dev/null
>> +++ b/arch/arm/cpu/arm926ejs/davinci/
>
> [...]
>
>> +void dm365_lpc_transition(unsigned char module, unsigned char domain,
>> + unsigned char state)
>> +{
>
> [...]
>
>> + dm365_lpc_transition(LPSC_DDR2, 0, PSC_ENABLE);
>
> [...]
>
>> + /* Set the DDR2 to synreset, then enable it again */
>> + dm365_lpc_transition(LPSC_DDR2, 0, PSC_SYNCRESET);
>> + dm365_lpc_transition(LPSC_DDR2, 0, PSC_ENABLE);
>> +
>
> dm365.c from the same directory uses lpsc_on(). Could you also use this
> function (and lpsc_syncreset from [1]) and remove dm365_lpc_transition
> instead?
Yes, you are right, I try this, thanks!
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2011-10-26 6:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-24 7:38 [U-Boot] [PATCH v4 00/11] arm, davinci: add support for dm368 based cam_enc_4xx board Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 01/11] usb, davinci: add enable_vbus() weak function Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 02/11] arm, usb, davinci: make USBPHY_CTL register configurable Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 03/11] net, davinci_emac: make clock divider in MDIO control " Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 04/11] spl: add option for adding post memory test to the SPL framework Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 05/11] arm, davinci: add support for new spl framework Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 06/11] spl, nand: add 4bit HW ecc oob first nand_read_page function Heiko Schocher
2011-10-28 16:03 ` Scott Wood
2011-10-24 7:38 ` [U-Boot] [PATCH v4 07/11] arm, davinci: add header files for dm365 Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 08/11] arm, davinci: add lowlevel function for dm365 soc Heiko Schocher
2011-10-26 4:53 ` Christian Riesch
2011-10-26 6:17 ` Heiko Schocher [this message]
2011-10-24 7:38 ` [U-Boot] [PATCH v4 09/11] arm926ejs, davinci: add cpuinfo for dm365 Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 10/11] arm926ejs, davinci: add missing spi defines " Heiko Schocher
2011-10-24 7:38 ` [U-Boot] [PATCH v4 11/11] arm, davinci: add cam_enc_4xx support Heiko Schocher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA7A611.2010900@denx.de \
--to=hs@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox