summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-27 23:47:02 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-29 17:24:26 +0900
commitb8909976ed384c26a3bc3bbdb9a39feb8a73d396 (patch)
tree03ea492b7ece2e5cdec9c0be6bf4ca9470091a3e /arch/arm/mach-uniphier/init.h
parentda0d4d138063aeeae1209998b55ff6909fd633d0 (diff)
ARM: uniphier: update DRAM init code for LD20 SoC (3rd)
- Constify UMC setting data arrays - Merge data arrays *_d0 and *_d1. - Add PHY parameters for LD20 C1 board Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/init.h')
-rw-r--r--arch/arm/mach-uniphier/init.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-uniphier/init.h b/arch/arm/mach-uniphier/init.h
index 361e02487d..f3f9e54a0b 100644
--- a/arch/arm/mach-uniphier/init.h
+++ b/arch/arm/mach-uniphier/init.h
@@ -26,11 +26,12 @@ struct uniphier_board_data {
#define UNIPHIER_BD_DDR3PLUS BIT(2)
-#define UNIPHIER_BD_BOARD_GET_TYPE(f) ((f) & 0x3)
+#define UNIPHIER_BD_BOARD_GET_TYPE(f) ((f) & 0x7)
#define UNIPHIER_BD_BOARD_LD20_REF 0 /* LD20 reference */
#define UNIPHIER_BD_BOARD_LD20_GLOBAL 1 /* LD20 TV Set */
-#define UNIPHIER_BD_BOARD_LD21_REF 2 /* LD21 reference */
-#define UNIPHIER_BD_BOARD_LD21_GLOBAL 3 /* LD21 TV Set */
+#define UNIPHIER_BD_BOARD_LD20_C1 2 /* LD20 TV Set C1 */
+#define UNIPHIER_BD_BOARD_LD21_REF 3 /* LD21 reference */
+#define UNIPHIER_BD_BOARD_LD21_GLOBAL 4 /* LD21 TV Set */
};
const struct uniphier_board_data *uniphier_get_board_param(void);