Ying-Chun Liu (PaulLiu) | a97107f | 2021-04-22 04:50:31 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2017 NXP |
| 4 | * Copyright 2020 Linaro |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef __COMPULAB_DDR_H__ |
| 9 | #define __COMPULAB_DDR_H__ |
| 10 | |
| 11 | extern struct dram_timing_info ucm_dram_timing_ff020008; |
| 12 | extern struct dram_timing_info ucm_dram_timing_ff000110; |
| 13 | extern struct dram_timing_info ucm_dram_timing_01061010; |
| 14 | |
| 15 | void spl_dram_init_compulab(void); |
| 16 | |
| 17 | #define TCM_DATA_CFG 0x7e0000 |
| 18 | |
| 19 | struct lpddr4_tcm_desc { |
| 20 | unsigned int size; |
| 21 | unsigned int sign; |
| 22 | unsigned int index; |
| 23 | unsigned int count; |
| 24 | }; |
| 25 | |
| 26 | #endif |