Dear [email protected],

In message <[email protected]> you wrote:
> From: Sandeep Paulraj <[email protected]>
> 
> This patch enables EMAC on the DM365 EVM.
> 
> Signed-off-by: Sandeep Paulraj <[email protected]>
> ---
>  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: [email protected]
To know how another being, another creature feels -  that  is  impos-
sible.                  - Terry Pratchett, _The Dark Side of the Sun_
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to