]> git.sur5r.net Git - u-boot/commitdiff
Fix missing drivers makefile entries ds1722.c mw_eeprom.c
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 18 Oct 2007 22:09:05 +0000 (00:09 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 23 Oct 2007 14:44:04 +0000 (16:44 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
drivers/Makefile
drivers/ds1722.c
drivers/mw_eeprom.c

index 6bf05ccad19696164b1f3f0a66b7812f39be659f..aba64f573a5ec09cddbd0688ba006c4c4da10596 100755 (executable)
@@ -54,7 +54,8 @@ COBJS = 3c589.o 5701rls.o ali512x.o at45.o ata_piix.o atmel_usart.o \
          ks8695eth.o \
          pxa_pcmcia.o mpc8xx_pcmcia.o tqm8xx_pcmcia.o  \
          rpx_pcmcia.o \
-         fsl_i2c.o fsl_pci_init.o ati_radeon_fb.o
+         fsl_i2c.o fsl_pci_init.o ati_radeon_fb.o \
+         ds1722.o mw_eeprom.o
 
 SRCS   := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
index 227d8169a5b36b0773f7ac1c3ddb1a1ca110ca87..c19ee01393f087af4c294836d97d41bb911cee57 100644 (file)
@@ -1,10 +1,10 @@
 
 #include <common.h>
 
-#include <ssi.h>
-
 #ifdef CONFIG_DS1722
 
+#include <ssi.h>
+
 static void ds1722_select(int dev)
 {
        ssi_set_interface(4096, 0, 0, 0);
index 2a1f4898429556df8310c0c764474b3e799cd1d2..2b3348810d2dea50dd14a425219fd176bd846b2c 100644 (file)
@@ -1,11 +1,11 @@
 /* Three-wire (MicroWire) serial eeprom driver (for 93C46 and compatibles) */
 
 #include <common.h>
-#include <ssi.h>
-
 
 #ifdef CONFIG_MW_EEPROM
 
+#include <ssi.h>
+
 /*
  * Serial EEPROM opcodes, including start bit
  */