Merge branch 'master' of /home/wd/git/u-boot/custodians
[oweals/u-boot.git] / board / voiceblue / eeprom.c
index 25e22947d777c46717d00b3daa4c053e823b32af..f01597ad10566b1576d17b7460136ca8e2ad6604 100644 (file)
@@ -26,7 +26,8 @@
 
 #include <common.h>
 #include <exports.h>
-#include "../drivers/smc91111.h"
+#include <timestamp.h>
+#include "../drivers/net/smc91111.h"
 
 #define SMC_BASE_ADDRESS CONFIG_SMC91111_BASE
 
@@ -146,7 +147,7 @@ int eeprom(int argc, char *argv[])
 {
        int i, len, ret;
        unsigned char buf[58], *p;
-       
+
        app_startup(argv);
        if (get_version() != XF_VERSION) {
                printf("Wrong XF_VERSION.\n");
@@ -169,7 +170,7 @@ int eeprom(int argc, char *argv[])
        /* Print help message */
        if (argv[1][1] == 'h') {
                printf("VoiceBlue EEPROM writer\n");
-               printf("Built: %s at %s\n", __DATE__ , __TIME__ );
+               printf("Built: %s at %s\n", U_BOOT_DATE, U_BOOT_TIME);
                printf("Usage:\n\t<mac_address> [<element_1>] [<...>]\n");
                return 0;
        }
@@ -209,4 +210,3 @@ int eeprom(int argc, char *argv[])
 
        return 0;
 }
-