LIB = lib$(BOARD).a
-OBJS = $(BOARD).o ../common/ar7240_flash.o ../common/ar7240_s26_phy.o ../common/common.o
+OBJS = $(BOARD).o ../common/spi_flash.o ../common/ar7240_s26_phy.o ../common/common.o
$(LIB): .depend $(OBJS) $(SOBJS)
$(AR) crv $@ $(OBJS) $(SOBJS)
LIB = lib$(BOARD).a
-OBJS = $(BOARD).o ../common/ar7240_pci.o ../common/ar7240_flash.o ../common/common.o
+OBJS = $(BOARD).o ../common/ar7240_pci.o ../common/spi_flash.o ../common/common.o
ifeq ($(ETH_CONFIG), _s17)
OBJS += ../common/athrs17_phy.o