]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
davinci: enbw_cmc: change switch init behaviour
authorHeiko Schocher <hs@denx.de>
Mon, 13 Aug 2012 23:51:04 +0000 (23:51 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:19 +0000 (14:58 +0200)
commit1bb0946b5cd2d39762f178b3d98f5e2da4dbb4aa
treefc409bbbf8d8554ec435414701535c305a2d6ac4
parent6995a2893718a54cbd255ea3dd9b6d7306e30cf2
davinci: enbw_cmc: change switch init behaviour

change the behaviour of switch initialization:

- rename "pwl" to "lan" in hwconfig parameter
  "lan" = port 1 with phy addr 2
  "lmn" = port 2 with phy addr 3

- if we have a valid switch config file in flash, do not
  evaluate the settings in the hwconfig "lan" or "lmn"
  subcommand.

- if we have no valid switch config file in flash, start
  the switch with default values, if we have a "lan" or
  a "lmn" hwconfig subcommand. If no "lan" or "lmn" is
  found in hwconfig, do nothing with the switch.

Signed-off-by: Heiko Schocher <hs@denx.de>
board/enbw/enbw_cmc/enbw_cmc.c