From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 19 Jul 2010 11:46:56 +0200 Subject: [U-Boot] guys, can you see some init code for davinci's chipselect bit width driving DM9000A? In-Reply-To: References: Message-ID: <4C441F10.20106@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 =====================================================================