Commit b2cbe2f9 authored by Chaithrika U S's avatar Chaithrika U S Committed by Kevin Hilman

ARM: DaVinci: EMAC: Clean up the fixed address offsets used for EMAC internal modules

Cleanup the way the memory regions are intialised and removes the hard-coded
offsets used for EMAC internal modules (MDIO, Control RAM, EMAC wrapper)
i.e the assumption that all modules are at fixed offset from the EMAC "base".

Also removes the hard coded values for the RAM size, number of transmit and
receive buffer descriptors, instead gets the info from the driver structure.
Signed-off-by: default avatarChaithrika U S <chaithrika@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 0787e2aa
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment