]> git.sur5r.net Git - u-boot/blobdiff - drivers/ddr/marvell/a38x/ddr_topology_def.h
driver/ddr: Add support for setting timing in hws_topology_map
[u-boot] / drivers / ddr / marvell / a38x / ddr_topology_def.h
index f8894e828a5469d3e3276e7018e775fc691d512f..229c3a127a837434926df47c25ccdd979eefd94c 100644 (file)
@@ -37,6 +37,12 @@ enum hws_mem_size {
        MEM_SIZE_LAST
 };
 
+enum hws_timing {
+       HWS_TIM_DEFAULT,
+       HWS_TIM_1T,
+       HWS_TIM_2T
+};
+
 struct bus_params {
        /* Chip Select (CS) bitmask (bits 0-CS0, bit 1- CS1 ...) */
        u8 cs_bitmask;
@@ -84,6 +90,9 @@ struct if_params {
 
        /* operation temperature */
        enum hws_temperature interface_temp;
+
+       /* 2T vs 1T mode (by default computed from number of CSs) */
+       enum hws_timing timing;
 };
 
 struct hws_topology_map {