smc911x_eeprom: new example app for managing newer SMC parts

A forward port of the last version to work with the newer smc911x driver.
I only have a board with a LAN9218 part on it, so that is the only one
I've tested.  But there isn't anything in this that would make it terribly
chip specific afaik.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CC: Sascha Hauer <s.hauer@pengutronix.de>
CC: Guennadi Liakhovetski <lg@denx.de>
CC: Magnus Lilja <lilja.magnus@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
Mike Frysinger
2008-12-22 02:56:07 -05:00
committed by Ben Warren
parent 736323a490
commit ad2d16393e
3 changed files with 386 additions and 3 deletions

View File

@@ -105,9 +105,10 @@ BIN += sched.bin
endif
ifeq ($(ARCH),blackfin)
ELF += smc91111_eeprom
SREC += smc91111_eeprom.srec
BIN += smc91111_eeprom.bin
BFIN_BIN = smc91111_eeprom smc911x_eeprom
ELF += $(BFIN_BIN)
SREC += $(addsuffix .srec,$(BFIN_BIN))
BIN += $(addsuffix .bin,$(BFIN_BIN))
endif
# The following example is pretty 8xx specific...