aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/init.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-07-22 13:38:32 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-07-24 00:24:55 +0900
commita74c28a0f2a6bfdc75d0547b804dc578844e49b1 (patch)
tree90ee1da58be08034df10960beabbee3d91156206 /arch/arm/mach-uniphier/init.h
parent4bab70a77d062582db89946b3e3a75f6e27a92ee (diff)
downloadu-boot-a74c28a0f2a6bfdc75d0547b804dc578844e49b1.zip
u-boot-a74c28a0f2a6bfdc75d0547b804dc578844e49b1.tar.gz
u-boot-a74c28a0f2a6bfdc75d0547b804dc578844e49b1.tar.bz2
ARM: uniphier: introduce flags to uniphier_board_data structure
I need to add more board attributes, so the "flags" member will be handier than separate boolean ones. 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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/init.h b/arch/arm/mach-uniphier/init.h
index cba0bc9..31da605 100644
--- a/arch/arm/mach-uniphier/init.h
+++ b/arch/arm/mach-uniphier/init.h
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2015-2016 Socionext Inc.
+ * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -20,8 +21,9 @@ struct uniphier_dram_ch {
struct uniphier_board_data {
unsigned int dram_freq;
unsigned int dram_nr_ch;
- bool dram_ddr3plus;
struct uniphier_dram_ch dram_ch[UNIPHIER_MAX_NR_DRAM_CH];
+ unsigned int flags;
+#define UNIPHIER_BD_DDR3PLUS BIT(2)
};
const struct uniphier_board_data *uniphier_get_board_param(void);