Update SICRL_USBDR to reflect 4 different settings
authorRon Madrid <ron_madrid@sbcglobal.net>
Wed, 2 Jun 2010 00:00:49 +0000 (17:00 -0700)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 4 Jun 2010 15:42:59 +0000 (10:42 -0500)
This patch changed the SICRL_USBDR define to reflect the 4 different bit
settings for this two-bit field.  The four different options are '00', '01',
'10', and '11'.  This patch also corrects the config file for SIMPC8313 and
MPC8313ERDB for the appropriate fields.  This change only affects the MPC8313
cpu.

Signed-off-by: Ron Madrid <ron_madrid@sbcglobal.net>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
include/configs/MPC8313ERDB.h
include/configs/SIMPC8313.h
include/mpc83xx.h

index 94695fc285d6ccdce7765db363558140deeeb02f..9a40adc3550e9811b22b9eaf132ee14c7fb69614 100644 (file)
 
 /* System IO Config */
 #define CONFIG_SYS_SICRH       (SICRH_TSOBI1 | SICRH_TSOBI2)   /* RGMII */
-#define CONFIG_SYS_SICRL       SICRL_USBDR                     /* Enable Internal USB Phy  */
+#define CONFIG_SYS_SICRL       SICRL_USBDR_10                  /* Enable Internal USB Phy  */
 
 #define CONFIG_SYS_HID0_INIT   0x000000000
 #define CONFIG_SYS_HID0_FINAL  (HID0_ENABLE_MACHINE_CHECK | \
index 9104f1ad36d83a90ea37f96f9829c3d2564c26bc..eb8657b6be0661a93f448f4238ca406f5a19ad74 100644 (file)
                                | SICRH_TSOBI1          \
                                | SICRH_TSOBI2 )
 #define CONFIG_SYS_SICRL       ( SICRL_LBC             \
-                               | SICRL_USBDR           \
+                               | SICRL_USBDR_10        \
                                | SICRL_ETSEC2_A )
 
 #define CONFIG_SYS_HID0_INIT   0x000000000
index 44115c91b410daeaa325bd8186447b169e72b112..5214911d1c98fef33736cea0a8b74169013697ad 100644 (file)
 #define SICRL_SPI_B                    0x00C00000
 #define SICRL_SPI_C                    0x00300000
 #define SICRL_SPI_D                    0x000C0000
-#define SICRL_USBDR                    0x00000C00
+#define SICRL_USBDR_11                 0x00000C00
+#define SICRL_USBDR_10                 0x00000800
+#define SICRL_USBDR_01                 0x00000400
+#define SICRL_USBDR_00                 0x00000000
 #define SICRL_ETSEC1_A                 0x0000000C
 #define SICRL_ETSEC2_A                 0x00000003