From 98388eaac3f732b265379e20e64243496e07dec0 Mon Sep 17 00:00:00 2001 From: Tobias Diedrich Date: Mon, 19 Oct 2015 22:40:41 +0200 Subject: [PATCH] Move milisecdelay into include/common.h --- u-boot/include/common.h | 1 + u-boot/include/configs/ap121.h | 1 - u-boot/include/configs/db12x.h | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.25.1