diff options
author | Andy Fleming <afleming@freescale.com> | 2008-08-31 21:33:26 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-09-03 04:18:15 (GMT) |
commit | 75b9d4ae0d69f214eab641caf12ce8af83a39a42 (patch) | |
tree | 61614a99bcfc7389d0c337edde151dac29a98af5 /include/vsc7385.h | |
parent | dd3d1f56a01f460d560766126ee7dfed2ea9bc10 (diff) | |
download | u-boot-75b9d4ae0d69f214eab641caf12ce8af83a39a42.tar.xz |
Pass in tsec_info struct through tsec_initialize
The tsec driver contains a hard-coded array of configuration information
for the tsec ethernet controllers. We create a default function that works
for most tsecs, and allow that to be overridden by board code. It creates
an array of tsec_info structures, which are then parsed by the corresponding
driver instance to determine configuration. Also, add regs, miiregs, and
devname fields to the tsec_info structure, so that we don't need the kludgy
"index" parameter.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/vsc7385.h')
0 files changed, 0 insertions, 0 deletions