]> git.karo-electronics.de Git - karo-tx-uboot.git/blob - drivers/ddr/marvell/a38x/ddr3_a38x_topology.h
arm: mvebu: Add Armada 38x DDR3 training code from Marvell bin_hdr
[karo-tx-uboot.git] / drivers / ddr / marvell / a38x / ddr3_a38x_topology.h
1 /*
2  * Copyright (C) Marvell International Ltd. and its affiliates
3  *
4  * SPDX-License-Identifier:     GPL-2.0
5  */
6
7 #ifndef _DDR3_A38X_TOPOLOGY_H
8 #define _DDR3_A38X_TOPOLOGY_H
9
10 #include "ddr_topology_def.h"
11
12 /* Bus mask variants */
13 #define BUS_MASK_32BIT                  0xf
14 #define BUS_MASK_32BIT_ECC              0x1f
15 #define BUS_MASK_16BIT                  0x3
16 #define BUS_MASK_16BIT_ECC              0x13
17 #define BUS_MASK_16BIT_ECC_PUP3         0xb
18
19 #define DYNAMIC_CS_SIZE_CONFIG
20 #define DISABLE_L2_FILTERING_DURING_DDR_TRAINING
21
22 #endif /* _DDR3_A38X_TOPOLOGY_H */