arm: sc8830: common: remove the redefined macros 86/153586/2
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 28 Sep 2017 11:36:41 +0000 (20:36 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 29 Sep 2017 09:58:06 +0000 (18:58 +0900)
BIT_XX wan redefined in bits.h.
Just include the bits header file in common.h

Change-Id: I67b4dacad0353b2d0b9783dd0c2bf3f111fa6449
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
arch/arm/include/asm/arch-sc8830/common.h

index 33724bc..b25ed0b 100644 (file)
@@ -22,6 +22,8 @@
 #include "linux/string.h"
 #include "sci_types.h"
 #include "sc_fdl_reg.h"
+#include "bits.h"
+
 /**---------------------------------------------------------------------------*
  **                             Compiler Flag                                 *
  **---------------------------------------------------------------------------*/
@@ -36,41 +38,6 @@ extern   "C"
 #define DISABLE  0
 
 //#define REG32(x)                                    (*((volatile uint32 *)(x)))
-/*
-    Bit define
-*/
-#define BIT_0               0x00000001
-#define BIT_1               0x00000002
-#define BIT_2               0x00000004
-#define BIT_3               0x00000008
-#define BIT_4               0x00000010
-#define BIT_5               0x00000020
-#define BIT_6               0x00000040
-#define BIT_7               0x00000080
-#define BIT_8               0x00000100
-#define BIT_9               0x00000200
-#define BIT_10              0x00000400
-#define BIT_11              0x00000800
-#define BIT_12              0x00001000
-#define BIT_13              0x00002000
-#define BIT_14              0x00004000
-#define BIT_15              0x00008000
-#define BIT_16              0x00010000
-#define BIT_17              0x00020000
-#define BIT_18              0x00040000
-#define BIT_19              0x00080000
-#define BIT_20              0x00100000
-#define BIT_21              0x00200000
-#define BIT_22              0x00400000
-#define BIT_23              0x00800000
-#define BIT_24              0x01000000
-#define BIT_25              0x02000000
-#define BIT_26              0x04000000
-#define BIT_27              0x08000000
-#define BIT_28              0x10000000
-#define BIT_29              0x20000000
-#define BIT_30              0x40000000
-#define BIT_31              0x80000000
 /**----------------------------------------------------------------------------*
 **                             Data Prototype                                 **
 **----------------------------------------------------------------------------*/