u-boot-brain/arch/arm/include/asm
Lokesh Vutla 0b1b60c779 ARM: OMAP5: Fix warm reset with USB cable connected
Warm reset on OMAP5 freezes when USB cable is connected.
Fix requires PRM_RSTTIME.RSTTIME1 to be programmed
with the time for which reset should be held low for the
voltages and the oscillator to reach stable state.

There are 3 parameters to be considered for calculating
the time, which are mostly board and PMIC dependent.
-1- Time taken by the Oscillator to shut + restart
-2- PMIC OTP times
-3- Voltage rail ramp times, which inturn depends on the
PMIC slew rate and value of the voltage ramp needed.

In order to keep the code in u-boot simple, have a way
for boards to specify a pre computed time directly using
the 'CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC'
option. If boards fail to specify the time, use a default
as specified by 'CONFIG_DEFAULT_OMAP_RESET_TIME_MAX_USEC' instead.
Using the default value translates into some ~22ms and should work in
all cases.
However in order to avoid this large delay hiding other bugs,
its recommended that all boards look at their respective data
sheets and specify a pre computed and optimal value using
'CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC'

In order to help future board additions to compute this
config option value, add a README at doc/README.omap-reset-time
which explains how to compute the value. Also update the toplevel
README with the additional option and pointers to
doc/README.omap-reset-time.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
[rnayak@ti.com: Updated changelog and added the README]
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
2013-05-10 08:25:55 -04:00
..
arch-a320 ftsmc020: move ftsmc020 static mem controller to driver/mtd 2011-04-27 19:38:10 +02:00
arch-am33xx Add DDR3 support for IGEP COM AQUILA/CYGNUS. 2013-05-10 08:25:55 -04:00
arch-arm720t arm: Remove support for NETARM 2012-10-26 22:38:00 +02:00
arch-armada100 USB: Armada100: EHCI Driver for Armada100 SOCs 2012-03-19 00:08:26 +01:00
arch-armv7 ARMv7: Add register definition of global timer 2012-10-03 02:04:22 +02:00
arch-at91 ARM: at91sam9x5: Using CPU string directly 2013-03-12 13:02:13 +01:00
arch-bcm2835 ARM: bcm2835: fix get_timer() to return ms 2013-04-04 08:14:54 +02:00
arch-davinci Merge u-boot/master into u-boot-ti/master 2013-03-11 12:16:13 -04:00
arch-ep93xx Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-exynos exynos: change indentation of defines in cpu.h 2013-04-04 20:17:50 +09:00
arch-imx mxc: Define architecture identifier 2012-09-01 14:58:30 +02:00
arch-ixp IXP: Fix GPIO_INT_ACT_LOW_SET() 2012-03-26 23:09:26 +02:00
arch-kirkwood arch-kirkwood: Ethernet port macro returning incorrect address 2013-01-09 04:12:11 +05:30
arch-ks8695 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-lpc32xx serial: add LPC32X0 high-speed UART devices support 2012-05-15 08:31:21 +02:00
arch-mb86r0x arm: auto gen asm-offsets.h for mb86r0x 2011-08-04 13:56:55 +02:00
arch-mx5 spi: mxc_spi: Set master mode for all channels 2013-04-13 17:46:42 +02:00
arch-mx6 spi: mxc_spi: Set master mode for all channels 2013-04-13 17:46:42 +02:00
arch-mx25 ehci-mxc: Define host offsets 2012-11-16 09:16:45 +01:00
arch-mx27 mxc: Define architecture identifier 2012-09-01 14:58:30 +02:00
arch-mx31 mx31/mx35/mx51/mx53/mx6: add watchdog 2013-01-13 11:39:57 +01:00
arch-mx35 SPL: ONENAND: Fix some ONENAND related defines. 2013-03-08 16:41:14 -05:00
arch-mxs mxs: timrot: Add support to i.MX23 2013-03-07 17:22:58 +01:00
arch-nomadik Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-omap3 OMAP3/4/5/AM33xx: Correct logic for checking FAT or RAW MMC 2013-04-08 11:29:34 -04:00
arch-omap4 ARM: OMAP5: Fix warm reset with USB cable connected 2013-05-10 08:25:55 -04:00
arch-omap5 ARM: OMAP5: Fix warm reset with USB cable connected 2013-05-10 08:25:55 -04:00
arch-omap24xx omap2420-h4: Fix booting from NOR flash 2013-04-08 11:29:05 -04:00
arch-orion5x ARM: kirkwood/orion5x: Use reset_cpu definition in include/common.h 2012-10-03 16:43:13 +05:30
arch-pantheon pantheon: define CONFIG_SYS_CACHELINE_SIZE 2011-11-03 22:56:22 +01:00
arch-pxa pxa: Add code to examine cpu model and revision 2012-10-15 11:54:07 -07:00
arch-rmobile arm: rmobile: Add support PFC of Renesas R8A7740 2012-10-03 02:04:25 +02:00
arch-s3c24x0 ARM : Add GPIO Driver and IOMUX definition for S3C2440 2012-10-03 10:50:20 +02:00
arch-s3c44b0 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-s5pc1xx gpio:fix: Proper handling of GPIO subsystem parts at Samsung devices 2012-11-15 21:08:18 +09:00
arch-sa1100 Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
arch-socfpga ARM: Add Altera SOCFPGA Cyclone5 2012-10-04 18:11:52 +02:00
arch-spear SPL: ARM: spear: Add SPL support for SPEAr600 platform 2012-07-07 14:07:43 +02:00
arch-tegra Tegra: Split tegra_get_chip_type() into soc & sku funcs 2013-04-15 11:01:38 -07:00
arch-tegra20 spi: add common fdt SPI driver interface 2013-03-25 09:56:06 -07:00
arch-tegra30 Tegra30: Cardhu: Add pad config tables/code based on pinmux code 2013-03-14 11:06:43 -07:00
arch-tegra114 Tegra114: Initialize System Counter (TSC) with osc frequency 2013-04-15 11:01:38 -07:00
arch-tnetv107x ARM1176: TI: TNETV107X soc initial support 2010-06-08 10:07:17 -05:00
arch-u8500 u8500: Enabling power to MMC device on AB8500 V2 2012-09-01 14:58:20 +02:00
arch-zynq i2c: zynq: Add support for Xilinx Zynq 2013-04-30 11:39:28 +02:00
imx-common mx51evk: Fix build error when CONFIG_VIDEO is disabled 2012-11-14 14:05:35 +01:00
proc-armv Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
armv7.h ARM: OMAP5: Add silicon id support for ES2.0 revision. 2013-03-11 11:06:10 -04:00
assembler.h arm: Use optimized memcpy and memset from linux 2011-04-27 19:38:07 +02:00
atomic.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
bitops.h arm: add __ilog2 function 2011-07-16 13:00:11 +02:00
bootm.h arm: Add Prep subcommand support to bootm 2012-03-27 22:05:29 +02:00
byteorder.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
cache.h ARM: mmu: Introduce weak dram_bank_setup function 2013-03-28 09:06:49 +01:00
config.h Replace CONFIG_RELOC_FIXUP_WORKS by CONFIG_NEEDS_MANUAL_RELOC 2010-10-29 21:32:07 +02:00
dma-mapping.h Fix Stelian's email address 2011-11-29 15:43:38 +01:00
ehci-omap.h usb: ehci: rework to take advantage of new lowlevel interface 2012-10-15 11:54:00 -07:00
emif.h arm: omap4: Fix SDRAM AUTO DETECTION 2013-04-08 11:29:34 -04:00
errno.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
global_data.h arm: Use generic global_data 2013-02-04 09:05:45 -05:00
gpio.h gpio: Replace ARM gpio.h with the common API in include/asm-generic 2012-01-09 20:10:32 -06:00
hardware.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
io.h ARM: fix write*() I/O accessors 2011-02-21 08:30:55 +01:00
linkage.h arm: adapt asm/linkage.h from Linux 2012-05-15 08:31:26 +02:00
mach-types.h arm: Remove support for smdk6400 2013-04-12 07:55:08 +02:00
macro.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
memory.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
omap_common.h ARM: OMAP5: Fix warm reset with USB cable connected 2013-05-10 08:25:55 -04:00
omap_gpio.h gpio: add gpio_is_valid() to omap_gpio API 2012-12-10 12:45:35 -07:00
omap_gpmc.h asm/omap_gpmc.h: consolidate common defines 2013-04-08 11:29:05 -04:00
omap_mmc.h omap_hsmmc: add driver check for write protection 2013-03-08 16:41:13 -05:00
omap_musb.h musb-new: omap2plus backend driver 2012-11-20 00:16:08 +01:00
pl310.h armv7: add PL310 support to u-boot 2011-07-04 10:55:25 +02:00
posix_types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
processor.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
ptrace.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
sections.h Introduce generic link section.h symbol files 2013-03-15 16:13:58 -04:00
setup.h arm bootm: Allow to pass board specified atags 2012-10-30 15:28:05 -07:00
sizes.h arch/arm/include/asm/sizes.h: cleanups 2010-10-13 09:59:33 +02:00
spl.h Replace __bss_end__ with __bss_end 2013-03-15 16:13:54 -04:00
string.h arm: Use optimized memcpy and memset from linux 2011-04-27 19:38:07 +02:00
system.h ARM: mmu: Set domain permissions to client access 2013-03-28 09:10:58 +01:00
types.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
u-boot-arm.h arm: Use sections header to obtain link symbols 2013-03-15 16:13:58 -04:00
u-boot.h arm: Enable generic board support 2013-03-15 16:14:00 -04:00
unaligned.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
utils.h armv7: cache maintenance operations for armv7 2011-07-04 10:55:25 +02:00