summaryrefslogtreecommitdiff
path: root/include/usb
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-11-04 04:23:25 +0100
committerMarek Vasut <marex@denx.de>2014-11-07 16:32:02 +0100
commit481a11c552978132a7e291213762af82ed3e7003 (patch)
tree26cce85bea2af306b8e04d4800b36ba69942f439 /include/usb
parentd1b6c77e1f7ed4821da008c80325f589fcf44df9 (diff)
usb: s3c-otg: Allow custom gusbcfg
Allow passing in a custom configuration of the gusbcfg register via platform data. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Vince Bridgers <vbridger@altera.com> Acked-by: Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/s3c_udc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/s3c_udc.h b/include/usb/s3c_udc.h
index 70e48f88ee7..7f49a4e2d5c 100644
--- a/include/usb/s3c_udc.h
+++ b/include/usb/s3c_udc.h
@@ -108,5 +108,6 @@ struct s3c_plat_otg_data {
unsigned int regs_otg;
unsigned int usb_phy_ctrl;
unsigned int usb_flags;
+ unsigned int usb_gusbcfg;
};
#endif