]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-exynos/system.h
TX6 Release 2013-04-22
[karo-tx-uboot.git] / arch / arm / include / asm / arch-exynos / system.h
index c85f949da4a84b89397d1ed2969569fdcb97b302..2ea985aa7f0f2e7e5837ca7a0a76384d8b66f416 100644 (file)
@@ -24,7 +24,7 @@
 
 #ifndef __ASSEMBLY__
 struct exynos4_sysreg {
-       unsigned char   res1[0x210];
+       unsigned int    res1[0x210 / 4];
        unsigned int    display_ctrl;
        unsigned int    display_ctrl2;
        unsigned int    camera_control;
@@ -33,7 +33,7 @@ struct exynos4_sysreg {
 };
 
 struct exynos5_sysreg {
-       unsigned char   res1[0x214];
+       unsigned int    res1[0x214 / 4];
        unsigned int    disp1blk_cfg;
        unsigned int    disp2blk_cfg;
        unsigned int    hdcp_e_fuse;
@@ -42,12 +42,16 @@ struct exynos5_sysreg {
        unsigned int    reserved;
        unsigned int    ispblk_cfg;
        unsigned int    usb20phy_cfg;
+       unsigned int    res2[0x29c / 4];
        unsigned int    mipi_dphy;
        unsigned int    dptx_dphy;
        unsigned int    phyclk_sel;
 };
 #endif
 
+#define USB20_PHY_CFG_HOST_LINK_EN     (1 << 0)
+
+void set_usbhost_mode(unsigned int mode);
 void set_system_display_ctrl(void);
 
 #endif /* _EXYNOS4_SYSTEM_H */