- Jun 19, 2014
-
-
Stefano Babic authored
gpmc timeout is disabled and the reset counter is set to 0. However, if later a driver activates the timeout setting the reset to a valid value, the old reset value with zero is still valid for the first access. In fact, the timeout block loads the reset counter after a successful access. Found on a am335x board with a FPGA connected to the GPMC bus together with the NAND. When the FPGA driver in kernel activates the timeout, the system hangs at the first access by the NAND driver. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Jeroen Hofstee authored
Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl>
-
Felipe Balbi authored
AM437x Starter Kit has a qspi flash and gbit ethernet support. By muxing those signals, we can use those interfaces from u-boot. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
pass correct PHY Address when running on SK so that we have working ethernet with this board too. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
AM43xx Starter Kit is a new board based on AM437x line of SoCs. Being a low-cost EVM and small size EVM are intended to provide an entry level development platform on a full fledged Hardware System. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Felipe Balbi authored
when porting u-boot to a new am43xx board, it helps to know the name of the current unsupported board so we don't have to hunt for design documents to figure out what's written in the EEPROM. Signed-off-by:
Felipe Balbi <balbi@ti.com>
-
Khoronzhuk, Ivan authored
Move AEMIF driver to drivers/memory/ti-aemif.c along with AEMIF definitions collected in arch/arm/include/asm/ti-common/ti-aemif.h Acked-by:
Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Khoronzhuk, Ivan authored
The definitions inside emif_defs.h concern davinci nand driver and should be in it's header. So create header file for davinci nand driver and move definitions from emif_defs.h and nand_defs.h to it. Acked-by:
Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> [trini: Fixup more davinci breakage] Signed-off-by:
Tom Rini <trini@ti.com>
-
Ash Charles authored
Signed-off-by:
Ash Charles <ashcharles@gmail.com>
-
Ash Charles authored
If CONFIG_(NAND|NOR|ONENAND) is not defined, no configuration is set for GPMC on chip select #0---size is 0. In this case, the GPMC configuration should be reset but not enabled. Enabling causes the Gumstix DuoVero board to hang when entering Linux. Signed-off-by:
Ash Charles <ashcharles@gmail.com> [trini: Switch to testing base as GPMC_SIZE_256M is 0x0] Signed-off-by:
Tom Rini <trini@ti.com>
-
- Jun 09, 2014
-
-
Masahiro Yamada authored
The symbol "_start" is defined twice in arch/arm/lib/vectors.S: around line 48 and line 54. If CONFIG_SYS_DV_NOR_BOOT_CFG is defined (as on calimain board), build fails: arch/arm/lib/vectors.S: Assembler messages: arch/arm/lib/vectors.S:54: Error: symbol `_start' is already defined make[1]: *** [arch/arm/lib/vectors.o] Error 1 make: *** [arch/arm/lib] Error 2 Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
-
Mark Rutland authored
Currently cntvoff_el2 is initialised with an arbitrary bag of bits derived from the initial value of cnthctl_el2 on the current CPU. This is somewhat odd and problematic as some of these bits are UNKNOWN at reset and may differ across CPUs (which may cause an OS at EL1 to observe time going backwards across CPUs). This patch instead initialises cntvoff_el2 with xzr, giving the register a consistent value of zero on all CPUs. Signed-off-by:
Mark Rutland <mark.rutland@arm.com> Acked-by:
Marc Zyngier <marc.zyngier@arm.com> Acked-by:
Catalin Marinas <catalin.marinas@arm.com> Cc: Scott Wood <scottwood@freescale.com> Cc: David Feng <fenghua@phytium.com.cn> Cc: Tom Rini <trini@ti.com> Acked-by:
David.Feng <fenghua@phytium.com.cn>
-
Chao Fu authored
Add QSPI support for VF610TWR, such as clock and iomux. Signed-off-by:
Alison Wang <Huan.Wang@freescale.com> Signed-off-by:
Chao Fu <b44548@freescale.com>
-
Alison Wang authored
Add PAD_CTL_DSE_150ohm and PAD_CTL_PUS_22K_UP for VF610 in IOMUX_PAD structure. Signed-off-by:
Alison Wang <Huan.Wang@freescale.com>
-
Alison Wang authored
Add Freescale QSPI driver support for VF610. Signed-off-by:
Alison Wang <Huan.Wang@freescale.com> Signed-off-by:
Chao Fu <b44548@freescale.com>
-
- Jun 08, 2014
-
-
Albert ARIBAUD authored
-
- Jun 06, 2014
-
-
Tom Rini authored
This family is supported by the TPS65218 PMIC. Implement a scale_vcores to set the MPU and CORE voltage correctly to the max frequency that is supported (and what we will be scaling them to in setup_dplls()). Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Add a driver for the TPS65218 PMIC which is used by TI AM43xx SoCs and may be used by TI AM335x SoCs. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Similar to OMAP4/5 we need to scale the voltage up prior to changing the clock frequencies up higher. Add a similar hook to start with. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Hannes Petermaier authored
Cc: trini@ti.com Signed-off-by:
Hannes Petermaier <oe5hpm@oevsv.at>
-
Hannes Petermaier authored
in almost all cases we need the i2c commands within the u-boot shell. So we enable them within the common section. Cc: trini@ti.com Signed-off-by:
Hannes Petermaier <oe5hpm@oevsv.at>
-
Hannes Petermaier authored
if we have no NAND-Chip, we don't need the gpmc-controller and therefore is no need to init it. Cc: trini@ti.com Signed-off-by:
Hannes Petermaier <oe5hpm@oevsv.at>
-
Hannes Petermaier authored
Cc: trini@ti.com Signed-off-by:
Hannes Petermaier <oe5hpm@oevsv.at>
-
Hannes Petermaier authored
Signed-off-by:
Hannes Petermaier <oe5hpm@oevsv.at>
-
Hannes Petermaier authored
For usage of timer6 within B&R we need this defines to enable clock modules and clk-source. Also the 'Timer register bits' are expanded. By the way we add defines for all timers within AM335x SoC. Cc: trini@ti.com Signed-off-by:
Hannes Petermaier <oe5hpm@oevsv.at>
-
Lokesh Vutla authored
After enabling a module, SW has to wait on IDLEST bit until it is Fully functional. This wait is missing for UART module and there is a immediate access of UART registers after this. So there is a chance of hang on this module( This can happen when we are running from MPU SRAM). So waiting for IDLEST bit. Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Lokesh Vutla authored
loadbootenv expects devtype variable to be set. This is missing in mmcboot command. With this the following error comes: U-Boot# run mmcboot mmc0 is current device SD/MMC found on device 0 ** Bad device usb 0 ** ** Bad device usb 0 ** Fixing this by setting devtype as mmc. Reported-by:
Tony Lindgren <tony@atomide.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com>
-
Jeroen Hofstee authored
commit a0a37183 "ARM: omap: merge GPMC initialization code for all platform" needs CONFIG_NOR, CONFIG_NAND or CONFIG_CMD_ONENAND to be set to access flash. Add CONFIG_NAND for tam3517 derived boards to prevent the following error: "nand: error: Unable to find NAND settings in GPMC Configuration - quitting" cc: Stefano Babic <sbabic@denx.de> Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl>
-
WingMan Kwok authored
Enable support of nand ecclayout command. Acked-By:
Murali Karicheri <m-karicheri2@ti.com> Acked-by:
Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
WingMan Kwok <w-kwok2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Murali Karicheri authored
Currently PWREMU_MGMT is not configured in the Linux generic UART driver as this register seems to be specific TI UART IP. So this needs to be enabled in u-boot to use UART1 from kernel space. Acked-By:
Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
Murali Karicheri <m-karicheri2@ti.com> Signed-off-by:
Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
-
Tom Rini authored
With the changes to the i2c framework (and adopting the omap24xx_i2c driver to them) we can no longer call i2c functions prior to gd having been set and cleared. When SPL booting, this is handled by setting gd to point to SRAM in s_init. However in the cases where we are loaded directly by ROM (memory mapped NOR or QSPI) we need to make use of the normal hooks to slightly delay these calls. Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
We have two contexts for booting these platforms. One is SPL which is roughly: reset, cpu_init_crit, lowlevel_init, s_init, sdram_init, _main, board_init_f from SPL, ... then U-Boot loads. The other is a memory-mapped XIP case (NOR or QSPI) where we do not run an SPL. In this case we go, roughly: reset, cpu_init_crit, lowlevel_init, s_init, _main, regular board_init_f. In the first case s_init will set a valid gd and then be able to call sdram_init which in many cases will need i2c (which needs a valid gd for gd->cur_i2c_bus). In this second case we must (and are able to and should) defer sdram_init() into dram_init() called by board_init_f as gd will have been set in _main and cleared in board_init_f. Signed-off-by:
Tom Rini <trini@ti.com>
-
Sourav Poddar authored
The patch populates the slave data which will be used by flash driver to set the flash quad enable bit. Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com>
-
Sourav Poddar authored
The ePOS EVM and EVM SK have QSPI as an option to boot. Add a qspiboot target that utilizes QSPI for env and so forth as an example of best practices. As QSPI is booted from directly we need to chang CONFIG_SYS_TEXT_BASE. Note that on ePOS EVM the QSPI and NAND are mutually exclusive choices we need to handle that elsewhere, once NAND support is also added. Signed-off-by:
Sourav Poddar <sourav.poddar@ti.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
pekon gupta authored
updates documentation with explanation on how to select ECC schemes. Signed-off-by:
Pekon Gupta <pekon@ti.com>
-
pekon gupta authored
This patch add support for BCH16_ECC to omap_gpmc driver. *need to BCH16 ECC scheme* With newer SLC Flash technologies and MLC NAND, and large densities, pagesizes Flash devices have become more suspectible to bit-flips. Thus stronger ECC schemes are required for protecting the data. But stronger ECC schemes have come with larger-sized ECC syndromes which require more space in OOB/Spare. This puts constrains like; (a) BCH16_ECC can correct 16 bit-flips per 512Bytes of data. (b) BCH16_ECC generates 26-bytes of ECC syndrome / 512B. Due to (b) this scheme can only be used with NAND devices which have enough OOB to satisfy following equation: OOBsize per page >= 26 * (page-size / 512) Signed-off-by:
Pekon Gupta <pekon@ti.com>
-
pekon gupta authored
GPMC can support simultaneous processing of 8 512Byte data chunks, in parallel Signed-off-by:
Pekon Gupta <pekon@ti.com>
-
pekon gupta authored
OMAP3 used GPMC_NAND_ECC_LP_x8_LAYOUT and GPMC_NAND_ECC_LP_x16_LAYOUT macros to configure GPMC controller for x7 or x8 bit device connected to its interface. Now this information is encoded in CONFIG_SYS_NAND_DEVICE_WIDTH macro, so above macros can be completely removed. Signed-off-by:
Pekon Gupta <pekon@ti.com>
-