usb: Enable dma transfers in ehci-ci13612

Remove the HCD_LOCAL_MEM flag and setup device dma_mask before calling
usb_create_hcd to avoid the use of dma bounce buffers.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
Cleanup USB host controller driver ehci-ci13612

Fixed a number of issues;
 * Don't use CONFIG_LSI_USB_SW_WORKAROUND for stuff other than name suggests.
 * Remove unnecessary ifdefs in probe function.
 * Remove hard coded IRQ number.
 * Check for correct return value from platform_get_irq()

Signed-off-by: Anders Berg <anders.berg@lsi.com>
Added L3 cache init function

Signed-off-by: Anders Berg <anders.berg@lsi.com>
Add a parameter to the smmon module, log.  By default it is on (1).
To turn off logging, add lsi-smmon.log=0 to bootargs or
"cat 0 > /sys/module/lsi_smmon/parameters/log".

Signed-off-by: John Jacques <john.jacques@lsi.com>
Mask unmonitored bits in the interrupt mask register.  When memory is not re-initialized
during a reset, some of the unmonitored bits stay set and cause the interrupt handler to
be unable to clear interrupts.

Signed-off-by: John Jacques <john.jacques@lsi.com>
Enable system memory monitoring by default.
Signed-off-by: John Jacques <john.jacques@lsi.com>
Change the file permissions from 755 to 644.
Signed-off-by: John Jacques <john.jacques@lsi.com>
Disabled debug message in MTC driver

Signed-off-by: wwang22 <wen.wang@lsi.com>
L3 Cache is not available in simulation!
Signed-off-by: John Jacques <john.jacques@lsi.com>
Add dummy versions of the mdio access functions (required
by the RTE in simulation).
Signed-off-by: John Jacques <john.jacques@lsi.com>
In order to get the Preempt-RT branch building, the default
configuration had to be refreshed.
Signed-off-by: John Jacques <john.jacques@lsi.com>
Merge branch 'wwang22-mtc-rmDebug' into standard/lsi/base
FEMAC hprot register wasn't being set to uncached mode in Linux and hence there was a dependency on U-boot FEMAC initialization for network support in Linux to work.
Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
Added check to confirm that USB controller is stopped before trying to reset it

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>
Set the watermark correctly in emulation, and fix a compile
bug on PowerPC.

Signed-off-by: John Jacques <john.jacques@lsi.com>
Updated to work on 3500 emulation, now that 3500 emulation is
available.

Signed-off-by: John Jacques <john.jacques@lsi.com>
usb: ehci-ci13612: Halt controller before reset

Make sure the controller is halted before reset and initialization. Use the
echi_halt that properly wait for the hardware to enter halted state.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
The offset was not being passed to __arm_ioremap_pfn!
Signed-off-by: John Jacques <john.jacques@lsi.com>
Merge branch 'standard/lsi/base' of github.com:lsigithub/lsi_axxia_yocto into standard/lsi/base
Work around for BZ46214.  Requires a U-Boot with the other part
of the work around.
Signed-off-by: John Jacques <john.jacques@lsi.com>