X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fbmw%2Fbmw.c;h=4039145e438db45be7c6951c4155f990fdd80de2;hb=3f390e15a719900b5e51f13b262ddb2e67349bc2;hp=b629c38272d78605ebbf90bc3573518098074a14;hpb=afbc526336447a7357e9c82852df0377d09a8089;p=u-boot diff --git a/board/bmw/bmw.c b/board/bmw/bmw.c index b629c38272..4039145e43 100644 --- a/board/bmw/bmw.c +++ b/board/bmw/bmw.c @@ -26,9 +26,9 @@ #include #include #include -#include +#include #include -#include +#include #include #include #include @@ -45,7 +45,7 @@ int checkboard(void) char buf[32]; puts ("Board: BMW MPC8245/KAHLUA2 - CHRP (MAP B)\n"); - printf("Built: %s at %s\n", __DATE__ , __TIME__ ); + printf("Built: %s at %s\n", U_BOOT_DATE, U_BOOT_TIME); /* printf("MPLD: Revision %d\n", SYS_REVID_GET()); */ printf("Local Bus at %s MHz\n", strmhz(buf, busfreq)); return 0; @@ -117,6 +117,7 @@ sys_led_msg(char* msg) LED_REG(3) = msg[0]; } +#ifdef CONFIG_CMD_DOC /* * Map onboard TSOP-16MB DOC FLASH chip. */ @@ -124,6 +125,7 @@ void doc_init (void) { doc_probe(DOC_BASE_ADDR); } +#endif #define NV_ADDR ((volatile unsigned char *) CONFIG_ENV_ADDR)