2 * Copyright (c) 2015 Google, Inc
4 * Copyright 2014 Rockchip Inc.
6 * SPDX-License-Identifier: GPL-2.0
9 #ifndef _ASM_ARCH_RK3288_SDRAM_H__
10 #define _ASM_ARCH_RK3288_SDRAM_H__
18 struct rk3288_sdram_channel {
27 #if CONFIG_IS_ENABLED(OF_PLATDATA)
29 * For of-platdata, which would otherwise convert this into two
30 * byte-swapped integers. With a size of 9 bytes, this struct will
31 * appear in of-platdata as a byte array.
33 * If OF_PLATDATA enabled, need to add a dummy byte in dts.(i.e 0xff)
39 struct rk3288_sdram_pctl_timing {
75 check_member(rk3288_sdram_pctl_timing, tdpd, 0x144 - 0xc0);
77 struct rk3288_sdram_phy_timing {
84 struct rk3288_base_params {