usb: ehci: add weak-aliased function for PORTSC
authorKuo-Jung Su <dantesu@faraday-tech.com>
Wed, 15 May 2013 07:29:21 +0000 (15:29 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 12 Jun 2013 20:22:51 +0000 (22:22 +0200)
commit1dde1423ad341b5d157ed7ee1f1b136f4ee7dbb4
tree91bcd6f226c2e2d54bd39ca680cb95a46340272e
parent9c6a9d7c8be40f58cf3faf0a4b8d9d33a21ca4f5
usb: ehci: add weak-aliased function for PORTSC

There is at least one non-EHCI compliant controller (i.e. Faraday EHCI)
not only leave RESERVED and CONFIGFLAG registers un-implemented
but also has their address spaces removed.

As an result, the PORTSC register of Faraday EHCI always
starts from 0x30 instead of 0x44 in standard EHCI.

So that we'll need a weak-aliased function for abstraction.

Signed-off-by: Kuo-Jung Su <dantesu@faraday-tech.com>
CC: Marek Vasut <marex@denx.de>
drivers/usb/host/ehci-hcd.c