]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: remove unused macros for UMC base addresses
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 26 Feb 2016 05:21:51 +0000 (14:21 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 28 Feb 2016 18:50:16 +0000 (03:50 +0900)
These macros are no longer used.  These base addresses are
SoC-dependent, so they should not be placed in the header.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/dram/umc-regs.h

index 311cf3d352fb8a52f53ad06f4be87d5a682c78c9..c65dd82a31c02374cfef7d409e89593d40ba3519 100644 (file)
@@ -9,11 +9,6 @@
 #ifndef ARCH_UMC_REGS_H
 #define ARCH_UMC_REGS_H
 
-#define UMC_BASE               0x5b800000
-
-/* SSIF registers */
-#define UMC_SSIF_BASE          UMC_BASE
-
 #define UMC_CPURST             0x00000700
 #define UMC_IDSRST             0x0000070C
 #define UMC_IXMRST             0x00000714
 #define UMC_CLKEN_SSIF_RC      0x0000C080
 #define UMC_CLKEN_SSIF_DST     0x0000C084
 
-/* CA registers */
-#define UMC_CA_BASE(ch)                (UMC_BASE + 0x00001000 + 0x00001000 * (ch))
-
-/* DRAM controller registers */
-#define UMC_DRAMCONT_BASE(ch)  (UMC_BASE + 0x00400000 + 0x00200000 * (ch))
-
 #define UMC_CMDCTLA            0x00000000
 #define UMC_CMDCTLB            0x00000004
 #define UMC_INITSET            0x00000014