2 * Copyright 2014 Freescale Semiconductor, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
9 struct board_specific_parameters {
11 u32 datarate_mhz_high;
20 * These tables contain all valid speeds we want to override with board
21 * specific parameters. datarate_mhz_high values need to be in ascending order
22 * for each n_ranks group.
25 static const struct board_specific_parameters udimm0[] = {
28 * num| hi| rank| clk| wrlvl | wrlvl | wrlvl
29 * ranks| mhz| GB |adjst| start | ctl2 | ctl3
31 {2, 2140, 0, 4, 4, 0x0, 0x0},
32 {1, 2140, 0, 4, 4, 0x0, 0x0},
36 static const struct board_specific_parameters rdimm0[] = {
39 * num| hi| rank| clk| wrlvl | wrlvl | wrlvl
40 * ranks| mhz| GB |adjst| start | ctl2 | ctl3
42 {4, 2140, 0, 5, 4, 0x0, 0x0},
43 {2, 2140, 0, 5, 4, 0x0, 0x0},
44 {1, 2140, 0, 4, 4, 0x0, 0x0},
48 static const struct board_specific_parameters *udimms[] = {
52 static const struct board_specific_parameters *rdimms[] = {