diff options
author | Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> | 2021-04-22 04:50:31 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-05-02 12:46:54 +0200 |
commit | 53b516c58de72e3890ac7364f87dd690aa8dbe41 (patch) | |
tree | d9cb898dc7bd592951ac5449794d3e42a7b5ea62 /board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h | |
parent | 8350211af41d15c80e6cc61191acf00503819e57 (diff) |
arm: imx8m: add support for Compulab iot-gate-imx8 (imx8mm-cl-iot-gate)
Add initial support for Compulab iot-gate-imx8 board (imx8mm-cl-iot-gate).
The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
Signed-off-by: Kirill Kapranov <kirill.kapranov@compulab.co.il>
Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
Signed-off-by: Valentin Raevsky <valentin@compulab.co.il>
Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
Cc: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h')
-rw-r--r-- | board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h new file mode 100644 index 00000000000..59c18911592 --- /dev/null +++ b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h @@ -0,0 +1,26 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2017 NXP + * Copyright 2020 Linaro + * + */ + +#ifndef __COMPULAB_DDR_H__ +#define __COMPULAB_DDR_H__ + +extern struct dram_timing_info ucm_dram_timing_ff020008; +extern struct dram_timing_info ucm_dram_timing_ff000110; +extern struct dram_timing_info ucm_dram_timing_01061010; + +void spl_dram_init_compulab(void); + +#define TCM_DATA_CFG 0x7e0000 + +struct lpddr4_tcm_desc { + unsigned int size; + unsigned int sign; + unsigned int index; + unsigned int count; +}; + +#endif |