ddr_bandwidth: support multi-ports config for one channel [1/1]
authortao zeng <tao.zeng@amlogic.com>
Thu, 29 Nov 2018 01:55:14 +0000 (09:55 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Tue, 18 Dec 2018 06:17:25 +0000 (14:17 +0800)
commit7cd1197dac80540965c883bddc1107c2fe6e2436
tree2e14aa578ed1ea40881b57c30ba517b515eeed86
parent7e14dc2c7c986eca823a099d4aeb825885bf4623
ddr_bandwidth: support multi-ports config for one channel [1/1]

PD#172256

Problem:
ddr bandwidth prot config can only set 1 port for 1 channel. But
dmc controller support measure many ports on 1 channel.

Solution:
Using bit mask to support multi-ports config for one channel.

Verify:
P212

Change-Id: Iad79e6ebd6aeb74b0e31b3f1bee08de4fd557cc1
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
drivers/amlogic/ddr_tool/ddr_band_op_g12.c
drivers/amlogic/ddr_tool/ddr_band_op_gx.c
drivers/amlogic/ddr_tool/ddr_band_op_gxl.c
drivers/amlogic/ddr_tool/ddr_bandwidth.c
include/linux/amlogic/aml_ddr_bandwidth.h
include/linux/amlogic/ddr_port.h