From 871480933a1c28f8a9fed4c4d34d06c439a7a422 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Sun, 11 Jan 2015 12:28:04 +0530 Subject: Moved, renamed, and deleted files The original directory structure was scattered and unorganized. Changes are basically to make it look like kernel structure. --- .../arm/mach-shmobile/include/mach/sdhi-sh7372.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 ANDROID_3.4.5/arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h (limited to 'ANDROID_3.4.5/arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h') diff --git a/ANDROID_3.4.5/arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h b/ANDROID_3.4.5/arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h deleted file mode 100644 index 4a81b01f..00000000 --- a/ANDROID_3.4.5/arch/arm/mach-shmobile/include/mach/sdhi-sh7372.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef SDHI_SH7372_H -#define SDHI_SH7372_H - -#define SDGENCNTA 0xfe40009c - -/* The countdown of SDGENCNTA is controlled by - * ZB3D2CLK which runs at 149.5MHz. - * That is 149.5ticks/us. Approximate this as 150ticks/us. - */ -static void udelay(int us) -{ - __raw_writel(us * 150, SDGENCNTA); - while(__raw_readl(SDGENCNTA)) ; -} - -static void msleep(int ms) -{ - udelay(ms * 1000); -} - -#endif -- cgit