public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] guys, can you see some init code for davinci's chipselect bit width	driving DM9000A?
Date: Mon, 19 Jul 2010 11:46:56 +0200	[thread overview]
Message-ID: <4C441F10.20106@denx.de> (raw)
In-Reply-To: <AANLkTikbdgJFAstxjNtTAm8KyF37A9QwgqnVQyHBDExV@mail.gmail.com>

yaojin liu wrote:
> hi:
> dm9000a works as 16bit bus width. however, i have not seen any init code for
> the dm355's chipselect.
> and by default ,the cs1 is 8bit bus width at reset. how doew it work?

I think the setup is done by the UBL provided by TI. U-boot is a 3-rd
stage bootloader for DM355. The RBL (Rom Bootloader) loads the UBL from
storage, that sets up the required peripherals (RAM / AEMIF), and then
loads u-boot.

u-boot does not set the a2cr register in the AEMIF interface, but the
UBL has already configured it for 16-bit access.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2010-07-19  9:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-19  2:27 [U-Boot] guys, can you see some init code for davinci's chipselect bit width driving DM9000A? yaojin liu
2010-07-19  9:46 ` Stefano Babic [this message]
2010-07-19 14:51   ` yaojin liu
2010-07-20  6:20     ` Stefano Babic

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=4C441F10.20106@denx.de \
    --to=sbabic@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