diff options
author | Huang Rui <ray.huang@amd.com> | 2014-10-28 19:54:23 +0800 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-11-03 10:03:35 -0600 |
commit | 946bd579a6385508bd93c9d453916c1a06c548ae (patch) | |
tree | c90fdc1005f135fa0bc9c35334f400ce8a3e4237 /drivers/memory/atmel-sdramc.c | |
parent | 2eac3992897e3e1be40e518032dbfd6aeca1932b (diff) |
usb: dwc3: add a flag to check if it is fpga board
Some chip vendor is on pre-silicon phase, which needs to use the simulation
board. It should have the same product and vendor id with the true soc, but
might have some minor different configurations.
Below thread discussion proposes to find a method to distinguish between
simulation board and soc.
http://marc.info/?l=linux-usb&m=141194772206369&w=2
In Andvanced Configuration of coreConsultant, there is the parameter of
DWC_USB_EN_FPGA. This bit has the function we need. And it would response as 7
bit of GHWPARAMS6 register. So it's able to check this functional bit to confirm
if works on FPGA board.
Reported-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/memory/atmel-sdramc.c')
0 files changed, 0 insertions, 0 deletions