diff options
author | Maxime Ripard | 2017-08-23 13:31:08 +0200 |
---|---|---|
committer | Maxime Ripard | 2017-10-03 19:12:06 +0200 |
commit | 9f35688349cf019ce4f85c81d7ec1a34d865dcc4 (patch) | |
tree | a7fe7e9e100839dcadc7b4fe5660b3f1451803f9 /board | |
parent | ea5b1e1efb5ebe5398f6c290babf7ab6fbf426b9 (diff) |
sunxi: usb_phy: invert the USB phy_ctl condition
All the new SoCs from Allwinner since the A33 have had the phy_ctl offset
at 0x410 instead of 0x404 that was used on the previous SoCs.
Instead of adding more and more special cases as the number of SoCs grow,
let's invert the test to have 0x410 by default, and the (hopefully) fixed
number of old SoCs being the exception.
Suggested-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Suggested-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions