]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fsl: Update the number of ethxaddr in reading system eeprom
authorHaiying Wang <Haiying.Wang@freescale.com>
Thu, 4 Jun 2009 20:12:40 +0000 (16:12 -0400)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 12 Jun 2009 22:17:01 +0000 (17:17 -0500)
commit9a6110897fc9282ade598bbba70ad72b940436e3
tree69e07fcd69347a899c572fa9a59b55caad210e82
parentf82107f637f167a77803c0933f9b24741a91c711
fsl: Update the number of ethxaddr in reading system eeprom

We support up to 8 mac addresses in system eeprom, so we define the macro
MAX_NUM_PORTS to limit the mac_count to 8, and update the number of ethxaddr
according to mac_count.

Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/common/sys_eeprom.c