From: Wolfgang Denk Date: Tue, 22 Sep 2009 22:23:30 +0200 Subject: [U-Boot] [PATCH] TI: DaVinci DM365: Enabling net support on DM365 In-Reply-To: <1252955798-31840-1-git-send-email-s-paulraj@ti.com> References: <1252955798-31840-1-git-send-email-s-paulraj@ti.com> Message-ID: <20090922202330.927D0832E864@gemini.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 Dear s-paulraj at ti.com, In message <1252955798-31840-1-git-send-email-s-paulraj@ti.com> you wrote: > From: Sandeep Paulraj > > This patch enables EMAC on the DM365 EVM. > > Signed-off-by: Sandeep Paulraj > --- > board/davinci/dm365evm/dm365evm.c | 38 +++++++++++++++++++++++++++++++++++++ > 1 files changed, 38 insertions(+), 0 deletions(-) ... > + /* Configure PINMUX 3 to enable EMAC pins */ > + writel((readl(PINMUX3) | 0x1affff), PINMUX3); > + > + /* Configure GPIO20 as output */ > + writel((readl(GIO_DIR01) & 0xffefffff), GIO_DIR01); Please use C structs to dsescribe the register layout. Do not use typeless addresses. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de To know how another being, another creature feels - that is impos- sible. - Terry Pratchett, _The Dark Side of the Sun_