Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 1 | /* |
Masahiro Yamada | a74c28a | 2016-07-22 13:38:32 +0900 | [diff] [blame] | 2 | * Copyright (C) 2015-2016 Socionext Inc. |
| 3 | * Author: Masahiro Yamada <yamada.masahiro@socionext.com> |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
Masahiro Yamada | 6ba60fa | 2015-12-17 17:47:42 +0900 | [diff] [blame] | 8 | #include <common.h> |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 9 | #include <libfdt.h> |
| 10 | #include <linux/kernel.h> |
Masahiro Yamada | 107b3fb | 2016-01-09 01:51:13 +0900 | [diff] [blame] | 11 | |
| 12 | #include "init.h" |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 13 | |
Masahiro Yamada | 6ba60fa | 2015-12-17 17:47:42 +0900 | [diff] [blame] | 14 | DECLARE_GLOBAL_DATA_PTR; |
| 15 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 16 | #if defined(CONFIG_ARCH_UNIPHIER_SLD3) |
Masahiro Yamada | 5b66006 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 17 | static const struct uniphier_board_data uniphier_sld3_data = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 18 | .dram_freq = 1600, |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 19 | .dram_ch[0] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 20 | .size = 0x20000000, |
| 21 | .width = 32, |
| 22 | }, |
| 23 | .dram_ch[1] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 24 | .size = 0x20000000, |
| 25 | .width = 16, |
| 26 | }, |
| 27 | .dram_ch[2] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 28 | .size = 0x10000000, |
| 29 | .width = 16, |
| 30 | }, |
Masahiro Yamada | 04cd4e7 | 2017-02-05 10:52:12 +0900 | [diff] [blame] | 31 | .flags = UNIPHIER_BD_DRAM_SPARSE, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 32 | }; |
| 33 | #endif |
| 34 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 35 | #if defined(CONFIG_ARCH_UNIPHIER_LD4) |
Masahiro Yamada | 5b66006 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 36 | static const struct uniphier_board_data uniphier_ld4_data = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 37 | .dram_freq = 1600, |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 38 | .dram_ch[0] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 39 | .size = 0x10000000, |
| 40 | .width = 16, |
| 41 | }, |
| 42 | .dram_ch[1] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 43 | .size = 0x10000000, |
| 44 | .width = 16, |
| 45 | }, |
Masahiro Yamada | a74c28a | 2016-07-22 13:38:32 +0900 | [diff] [blame] | 46 | .flags = UNIPHIER_BD_DDR3PLUS, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 47 | }; |
| 48 | #endif |
| 49 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 50 | #if defined(CONFIG_ARCH_UNIPHIER_PRO4) |
Masahiro Yamada | 3f23111 | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 51 | /* 1GB RAM board */ |
Masahiro Yamada | 5b66006 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 52 | static const struct uniphier_board_data uniphier_pro4_data = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 53 | .dram_freq = 1600, |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 54 | .dram_ch[0] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 55 | .size = 0x20000000, |
| 56 | .width = 32, |
| 57 | }, |
| 58 | .dram_ch[1] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 59 | .size = 0x20000000, |
| 60 | .width = 32, |
| 61 | }, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 62 | }; |
Masahiro Yamada | 3f23111 | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 63 | |
| 64 | /* 2GB RAM board */ |
Masahiro Yamada | 5b66006 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 65 | static const struct uniphier_board_data uniphier_pro4_2g_data = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 66 | .dram_freq = 1600, |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 67 | .dram_ch[0] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 68 | .size = 0x40000000, |
| 69 | .width = 32, |
| 70 | }, |
| 71 | .dram_ch[1] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 72 | .size = 0x40000000, |
| 73 | .width = 32, |
| 74 | }, |
Masahiro Yamada | 3f23111 | 2016-02-12 20:27:02 +0900 | [diff] [blame] | 75 | }; |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 76 | #endif |
| 77 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 78 | #if defined(CONFIG_ARCH_UNIPHIER_SLD8) |
Masahiro Yamada | 5b66006 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 79 | static const struct uniphier_board_data uniphier_sld8_data = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 80 | .dram_freq = 1333, |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 81 | .dram_ch[0] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 82 | .size = 0x10000000, |
| 83 | .width = 16, |
| 84 | }, |
| 85 | .dram_ch[1] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 86 | .size = 0x10000000, |
| 87 | .width = 16, |
| 88 | }, |
Masahiro Yamada | a74c28a | 2016-07-22 13:38:32 +0900 | [diff] [blame] | 89 | .flags = UNIPHIER_BD_DDR3PLUS, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 90 | }; |
| 91 | #endif |
| 92 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 93 | #if defined(CONFIG_ARCH_UNIPHIER_PRO5) |
Masahiro Yamada | 5b66006 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 94 | static const struct uniphier_board_data uniphier_pro5_data = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 95 | .dram_freq = 1866, |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 96 | .dram_ch[0] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 97 | .size = 0x20000000, |
| 98 | .width = 32, |
| 99 | }, |
| 100 | .dram_ch[1] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 101 | .size = 0x20000000, |
| 102 | .width = 32, |
| 103 | }, |
Masahiro Yamada | 28f40d4 | 2015-09-22 00:27:40 +0900 | [diff] [blame] | 104 | }; |
| 105 | #endif |
| 106 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 107 | #if defined(CONFIG_ARCH_UNIPHIER_PXS2) |
Masahiro Yamada | 5b66006 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 108 | static const struct uniphier_board_data uniphier_pxs2_data = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 109 | .dram_freq = 2133, |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 110 | .dram_ch[0] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 111 | .size = 0x40000000, |
| 112 | .width = 32, |
| 113 | }, |
| 114 | .dram_ch[1] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 115 | .size = 0x20000000, |
| 116 | .width = 32, |
| 117 | }, |
| 118 | .dram_ch[2] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 119 | .size = 0x20000000, |
| 120 | .width = 16, |
| 121 | }, |
Masahiro Yamada | 89c05fa | 2015-12-17 17:47:43 +0900 | [diff] [blame] | 122 | }; |
| 123 | #endif |
| 124 | |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 125 | #if defined(CONFIG_ARCH_UNIPHIER_LD6B) |
Masahiro Yamada | 5b66006 | 2016-03-30 20:17:02 +0900 | [diff] [blame] | 126 | static const struct uniphier_board_data uniphier_ld6b_data = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 127 | .dram_freq = 1866, |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 128 | .dram_ch[0] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 129 | .size = 0x40000000, |
| 130 | .width = 32, |
| 131 | }, |
| 132 | .dram_ch[1] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 133 | .size = 0x20000000, |
| 134 | .width = 32, |
| 135 | }, |
| 136 | .dram_ch[2] = { |
Masahiro Yamada | 46abfcc | 2016-02-26 14:21:34 +0900 | [diff] [blame] | 137 | .size = 0x20000000, |
| 138 | .width = 16, |
| 139 | }, |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 140 | }; |
| 141 | #endif |
| 142 | |
Masahiro Yamada | 667dbcd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 143 | #if defined(CONFIG_ARCH_UNIPHIER_LD11) |
| 144 | static const struct uniphier_board_data uniphier_ld11_data = { |
| 145 | .dram_freq = 1600, |
Masahiro Yamada | 667dbcd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 146 | .dram_ch[0] = { |
Masahiro Yamada | 667dbcd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 147 | .size = 0x20000000, |
| 148 | .width = 16, |
| 149 | }, |
| 150 | .dram_ch[1] = { |
Masahiro Yamada | 667dbcd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 151 | .size = 0x20000000, |
| 152 | .width = 16, |
| 153 | }, |
| 154 | }; |
| 155 | #endif |
| 156 | |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 157 | #if defined(CONFIG_ARCH_UNIPHIER_LD20) |
Masahiro Yamada | f6bbec3 | 2016-09-14 01:06:10 +0900 | [diff] [blame] | 158 | static const struct uniphier_board_data uniphier_ld20_ref_data = { |
| 159 | .dram_freq = 1866, |
Masahiro Yamada | f6bbec3 | 2016-09-14 01:06:10 +0900 | [diff] [blame] | 160 | .dram_ch[0] = { |
Masahiro Yamada | f6bbec3 | 2016-09-14 01:06:10 +0900 | [diff] [blame] | 161 | .size = 0x40000000, |
| 162 | .width = 32, |
| 163 | }, |
| 164 | .dram_ch[1] = { |
Masahiro Yamada | f6bbec3 | 2016-09-14 01:06:10 +0900 | [diff] [blame] | 165 | .size = 0x40000000, |
| 166 | .width = 32, |
| 167 | }, |
| 168 | .dram_ch[2] = { |
Masahiro Yamada | f6bbec3 | 2016-09-14 01:06:10 +0900 | [diff] [blame] | 169 | .size = 0x40000000, |
| 170 | .width = 32, |
| 171 | }, |
| 172 | .flags = UNIPHIER_BD_BOARD_LD20_REF, |
| 173 | }; |
| 174 | |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 175 | static const struct uniphier_board_data uniphier_ld20_data = { |
| 176 | .dram_freq = 1866, |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 177 | .dram_ch[0] = { |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 178 | .size = 0x40000000, |
| 179 | .width = 32, |
| 180 | }, |
| 181 | .dram_ch[1] = { |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 182 | .size = 0x40000000, |
| 183 | .width = 32, |
| 184 | }, |
| 185 | .dram_ch[2] = { |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 186 | .size = 0x40000000, |
| 187 | .width = 32, |
| 188 | }, |
Masahiro Yamada | f6bbec3 | 2016-09-14 01:06:10 +0900 | [diff] [blame] | 189 | .flags = UNIPHIER_BD_BOARD_LD20_GLOBAL, |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 190 | }; |
Masahiro Yamada | be44a46 | 2016-07-22 13:38:33 +0900 | [diff] [blame] | 191 | |
| 192 | static const struct uniphier_board_data uniphier_ld21_data = { |
| 193 | .dram_freq = 1866, |
Masahiro Yamada | be44a46 | 2016-07-22 13:38:33 +0900 | [diff] [blame] | 194 | .dram_ch[0] = { |
Masahiro Yamada | ef70eb5 | 2016-09-14 01:06:09 +0900 | [diff] [blame] | 195 | .size = 0x20000000, |
Masahiro Yamada | be44a46 | 2016-07-22 13:38:33 +0900 | [diff] [blame] | 196 | .width = 32, |
| 197 | }, |
| 198 | .dram_ch[1] = { |
Masahiro Yamada | be44a46 | 2016-07-22 13:38:33 +0900 | [diff] [blame] | 199 | .size = 0x40000000, |
| 200 | .width = 32, |
| 201 | }, |
Masahiro Yamada | fc671ed | 2017-03-07 05:28:25 +0900 | [diff] [blame] | 202 | .flags = UNIPHIER_BD_DRAM_SPARSE | UNIPHIER_BD_BOARD_LD21_GLOBAL, |
Masahiro Yamada | be44a46 | 2016-07-22 13:38:33 +0900 | [diff] [blame] | 203 | }; |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 204 | #endif |
| 205 | |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 206 | struct uniphier_board_id { |
| 207 | const char *compatible; |
| 208 | const struct uniphier_board_data *param; |
| 209 | }; |
| 210 | |
| 211 | static const struct uniphier_board_id uniphier_boards[] = { |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 212 | #if defined(CONFIG_ARCH_UNIPHIER_SLD3) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 213 | { "socionext,uniphier-sld3", &uniphier_sld3_data, }, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 214 | #endif |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 215 | #if defined(CONFIG_ARCH_UNIPHIER_LD4) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 216 | { "socionext,uniphier-ld4", &uniphier_ld4_data, }, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 217 | #endif |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 218 | #if defined(CONFIG_ARCH_UNIPHIER_PRO4) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 219 | { "socionext,uniphier-pro4-ace", &uniphier_pro4_2g_data, }, |
| 220 | { "socionext,uniphier-pro4-sanji", &uniphier_pro4_2g_data, }, |
| 221 | { "socionext,uniphier-pro4", &uniphier_pro4_data, }, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 222 | #endif |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 223 | #if defined(CONFIG_ARCH_UNIPHIER_SLD8) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 224 | { "socionext,uniphier-sld8", &uniphier_sld8_data, }, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 225 | #endif |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 226 | #if defined(CONFIG_ARCH_UNIPHIER_PRO5) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 227 | { "socionext,uniphier-pro5", &uniphier_pro5_data, }, |
Masahiro Yamada | 28f40d4 | 2015-09-22 00:27:40 +0900 | [diff] [blame] | 228 | #endif |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 229 | #if defined(CONFIG_ARCH_UNIPHIER_PXS2) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 230 | { "socionext,uniphier-pxs2", &uniphier_pxs2_data, }, |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 231 | #endif |
Masahiro Yamada | ea65c98 | 2016-03-18 16:41:43 +0900 | [diff] [blame] | 232 | #if defined(CONFIG_ARCH_UNIPHIER_LD6B) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 233 | { "socionext,uniphier-ld6b", &uniphier_ld6b_data, }, |
Masahiro Yamada | 019df87 | 2015-09-22 00:27:41 +0900 | [diff] [blame] | 234 | #endif |
Masahiro Yamada | 667dbcd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 235 | #if defined(CONFIG_ARCH_UNIPHIER_LD11) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 236 | { "socionext,uniphier-ld11", &uniphier_ld11_data, }, |
Masahiro Yamada | 667dbcd | 2016-05-24 21:14:01 +0900 | [diff] [blame] | 237 | #endif |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 238 | #if defined(CONFIG_ARCH_UNIPHIER_LD20) |
Masahiro Yamada | 52159d2 | 2016-10-07 16:43:00 +0900 | [diff] [blame] | 239 | { "socionext,uniphier-ld21", &uniphier_ld21_data, }, |
| 240 | { "socionext,uniphier-ld20-ref", &uniphier_ld20_ref_data, }, |
| 241 | { "socionext,uniphier-ld20", &uniphier_ld20_data, }, |
Masahiro Yamada | 9d0c2ce | 2016-04-21 14:43:18 +0900 | [diff] [blame] | 242 | #endif |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 243 | }; |
| 244 | |
Masahiro Yamada | 6ba60fa | 2015-12-17 17:47:42 +0900 | [diff] [blame] | 245 | const struct uniphier_board_data *uniphier_get_board_param(void) |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 246 | { |
| 247 | int i; |
| 248 | |
| 249 | for (i = 0; i < ARRAY_SIZE(uniphier_boards); i++) { |
Masahiro Yamada | 6ba60fa | 2015-12-17 17:47:42 +0900 | [diff] [blame] | 250 | if (!fdt_node_check_compatible(gd->fdt_blob, 0, |
Masahiro Yamada | 323d1f9 | 2015-09-22 00:27:39 +0900 | [diff] [blame] | 251 | uniphier_boards[i].compatible)) |
| 252 | return uniphier_boards[i].param; |
| 253 | } |
| 254 | |
| 255 | return NULL; |
| 256 | } |