/* The following functions return memory parameters: bus and device width, device size  */
u32 hws_ddr3_get_bus_width(void)
/* The following functions return memory parameters: bus and device width, device size  */
u32 hws_ddr3_get_bus_width(void)
{
	struct mv_ddr_topology_map *tm = mv_ddr_topology_map_get();
	return (DDR3_IS_16BIT_DRAM_MODE(tm->bus_act_mask) ==
		1) ? 16 : 32;
}