Cleanup SerailIO drivers to have a device path and use PCD settings for various stuff. Also clean up a few coding convention items.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10009 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -25,9 +25,9 @@ ClockInit (
|
||||
//DPLL1 - DPLL4 are configured part of Configuration header which OMAP3 ROM parses.
|
||||
|
||||
// Enable PLL5 and set to 120 MHz as a reference clock.
|
||||
MmioWrite32(CM_CLKSEL4_PLL, CM_CLKSEL_PLL_MULT(120) | CM_CLKSEL_PLL_DIV(13));
|
||||
MmioWrite32(CM_CLKSEL5_PLL, CM_CLKSEL_DIV_120M(1));
|
||||
MmioWrite32(CM_CLKEN2_PLL, CM_CLKEN_FREQSEL_075_100 | CM_CLKEN_ENABLE);
|
||||
MmioWrite32 (CM_CLKSEL4_PLL, CM_CLKSEL_PLL_MULT(120) | CM_CLKSEL_PLL_DIV(13));
|
||||
MmioWrite32 (CM_CLKSEL5_PLL, CM_CLKSEL_DIV_120M(1));
|
||||
MmioWrite32 (CM_CLKEN2_PLL, CM_CLKEN_FREQSEL_075_100 | CM_CLKEN_ENABLE);
|
||||
|
||||
// Turn on functional & interface clocks to the USBHOST power domain
|
||||
MmioOr32(CM_FCLKEN_USBHOST, CM_FCLKEN_USBHOST_EN_USBHOST2_ENABLE
|
||||
|
Reference in New Issue
Block a user