From: Tobias Diedrich Date: Mon, 19 Oct 2015 20:40:41 +0000 (+0200) Subject: Move milisecdelay into include/common.h X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=98388eaac3f732b265379e20e64243496e07dec0;p=oweals%2Fu-boot_mod.git Move milisecdelay into include/common.h --- diff --git a/u-boot/include/common.h b/u-boot/include/common.h index 06eed3f..652e731 100644 --- a/u-boot/include/common.h +++ b/u-boot/include/common.h @@ -520,6 +520,7 @@ void wait_ticks (unsigned long); /* lib_$(ARCH)/time.c */ void udelay (unsigned long); +#define milisecdelay(_x) udelay((_x) * 1000) ulong usec2ticks (unsigned long usec); ulong ticks2usec (unsigned long ticks); int init_timebase (void); diff --git a/u-boot/include/configs/ap121.h b/u-boot/include/configs/ap121.h index 6939219..ce3f88a 100644 --- a/u-boot/include/configs/ap121.h +++ b/u-boot/include/configs/ap121.h @@ -993,7 +993,6 @@ #define CFG_BOOTM_LEN (16 << 20) /* 16 MB */ #undef DEBUG -#define milisecdelay(_x) udelay((_x) * 1000) /* MAC address, model and PIN number offsets in FLASH */ #if defined(CONFIG_FOR_DLINK_DIR505_A1) diff --git a/u-boot/include/configs/db12x.h b/u-boot/include/configs/db12x.h index 8fe8377..b6a95ac 100644 --- a/u-boot/include/configs/db12x.h +++ b/u-boot/include/configs/db12x.h @@ -234,7 +234,6 @@ #define CFG_BOOTM_LEN (16 << 20) /* 16 MB */ #undef DEBUG -#define milisecdelay(_x) udelay((_x) * 1000) /* MAC address, model and PIN number offsets in FLASH */ #define OFFSET_MAC_DATA_BLOCK 0x010000