- 15 May, 2012 40 commits
-
-
Tom Rini authored
Introduce a __weak misc_init_r function that just runs dieid_num_r(). Remove misc_init_r from cm_t35, mcx, omap3_logic and mt_ventoux as this was all they did for misc_init_r. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Ilya Yanok <yanok@emcraft.com> Cc: Peter Barada <peter.barada@logicpd.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Tom Rini authored
We had a do-nothing misc_init_r, remove along with CONFIG_MISC_INIT_R Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
We had a do-nothing misc_init_r, remove along with CONFIG_MISC_INIT_R Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
OMAP4/5 had an empty arch_cpu_init() so drop that along with CONFIG_ARCH_CPU_INIT Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
This is only used on !CONFIG_GENERIC_MMC which is false here. Signed-off-by:
Tom Rini <trini@ti.com>
-
Grazvydas Ignotas authored
As ttyS0 is no longer valid for newer OMAP kernels, and pandora serial cables are not widespread, simply drop console argument. This should allow booting old and new kernels with default arguments, and those who need serial can use a boot script on SD card. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com>
-
Grazvydas Ignotas authored
Update pandora's GPIO setup code with these changes: - convert to gpiolib - set up dual voltage GPIOs to match supply of 1.8V by clearing VMODE1 - add GPIO_IO_PWRDNZ configuration for DM3730 variation of pandora (required to enable GPIO 126, 127, and 129 I/O cells in DM3730) - add wifi reset pulse as recommended by wifi chip's manufacturer - drop configuration of GPIOs that u-boot doesn't need Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com>
-
Grazvydas Ignotas authored
DM3730 needs some additional pin mux configuration for GPIOs 126-129 to work, add it. Signed-off-by:
Grazvydas Ignotas <notasas@gmail.com>
-
Tom Rini authored
This rule confirms that if we're on ARM and we have enabled THUMB builds that we have a new enough toolchain to produce a working binary. Changes in v2: - Switch to ALL-$(CONFIG_SYS_THUMB_BUILD) in arch/arm/config.mk (Mike F) - Simplfy checkthumb test after doing the above Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Tom Rini authored
Added from Linux - commit fde7d9049e55ab85a390be7f415d74c9f62dd0f9 Signed-off-by:
Tom Rini <trini@ti.com>
-
Aneesh V authored
Signed-off-by:
Aneesh V <aneesh@ti.com>
-
Aneesh V authored
Avoid using __attribute__ ((__packed__)) unless it's absolutely necessary. "packed" will remove alignment requirements for the respective objects and may cause alignment issues unless alignment is also enforced using a pragma. Here, these packed attributes were causing alignment faults in Thumb build. Signed-off-by:
Aneesh V <aneesh@ti.com>
-
Aneesh V authored
Enable -march=armv7-a for armv7 platforms if the tool-chain supports it. This in turn results in Thumb-2 code generated for these platforms if CONFIG_SYS_THUMB_BUILD is enabled. Signed-off-by:
Aneesh V <aneesh@ti.com>
-
Aneesh V authored
Enable Thumb build and ARM-Thumb interworking based on the new config flag CONFIG_SYS_THUMB_BUILD Signed-off-by:
Aneesh V <aneesh@ti.com> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Aneesh V authored
Use ENTRY and ENDPROC with assembly functions to ensure necessary assembler directives for all functions. Signed-off-by:
Aneesh V <aneesh@ti.com> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Aneesh V authored
This will add ARM specific over-rides for the defines from linux/linkage.h Signed-off-by:
Aneesh V <aneesh@ti.com> Tested-by:
Mike Frysinger <vapier@gentoo.org>
-
SRICHARAN R authored
Warm reset is not functional in case of omap5430ES1.0. So override the weak reset_cpu function to use cold reset instead. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
The reset.S has the function to do a warm reset on OMAP based socs. Moving this to a reset.c file so that this acts a common layer to add any reset related functionality for the future. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
Balaji T K authored
Save env to eMMC Signed-off-by:
Balaji T K <balajitk@ti.com>
-
Balaji T K authored
Add omap5 pbias configuration for mmc1/sd lines and set voltage for sd data i/o lines Signed-off-by:
Balaji T K <balajitk@ti.com>
-
SRICHARAN R authored
palmas/TWL6035 is power IC for omap5 evm boards Signed-off-by:
Balaji T K <balajitk@ti.com>
-
Balaji T K authored
In OMAP5 Boot device mode of 6 and 7 should be mapped to mmc2/eMMC Signed-off-by:
Balaji T K <balajitk@ti.com> Signed-off-by:
Tom Rini <trini@ti.com>
-
SRICHARAN R authored
PD_TIM bit field which specifies the power down timing is defined to occupy bits 8-11, where as it is actually from 12-15 bits. So correcting this. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
The ddr part name used in OMAP5 ES1.0 soc is a SAMSUNG part and not a ELPIDA part. So change this. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
Adding the nessecary changes for OMAP5430 ES1.0 silicon. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
Add support to identify the device as GP/EMU/HS. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
Make the sysctrl structure common, so that it can be used in generic functions across socs. Also change the base address of the system control module, to include all the registers and not simply the io regs. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
The full internal SRAM of size 128kb is public in the case of OMAP5 soc. So change the base address accordingly. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
The different silicon revision variable names was defined for OMAP4 and OMAP5 socs. Making the variable common so that some code can be made generic. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
The break statement is missing in init_omap_revision function, resulting in a wrong revision identification. So fixing this. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
The nominal opp vdd values as recommended for ES1.0 silicon is set for mpu, core, mm domains using palmas. Also used the right sequence to enable the vcores as per a previous patch from Nishant Menon, which can be dropped now. http://lists.denx.de/pipermail/u-boot/2012-March/119151.htmlSigned-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
The OMAP5 silicon has new DDR PHY design, which includes a external PHY as well. So configuring the ext PHY parameters here. Also the EMIF timimg registers and a couple of DDR mode registers needs to be updated based on the testing from the actual silicon. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
The control module provides options to set various signal integrity parameters like the output impedance, slew rate, load capacitance for different pad groups. Configure these as required for the omap5430 sevm board. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
Adding the full pinmux data for OMAP5430 sevm board. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
SRICHARAN R authored
Aligning all the clock related settings like the dpll frequencies, their respective clock outputs, etc to the ideal values recommended for OMAP5430 ES1.0 silicon. Signed-off-by:
R Sricharan <r.sricharan@ti.com>
-
Enric Balletbò i Serra authored
This is rework on config files of IGEP-based boards with the aim to remove duplicated code to be more maintainable. Basically this patch creates a common configuration file for both boards and only sets the specific option in the board config file. On board files the hardcored mach type was replaced in favour of using the CONFIG_MACH_TYPE option. More than 200 duplicated lines have been deleted. Signed-off-by:
Enric Balletbo i Serra <eballetbo@gmail.com>
-
Nishanth Menon authored
OMAP4 requires that parent domains scale ahead of dependent domains. This is due to the restrictions in timing closure. To ensure a consistent behavior across all OMAP4 SoC, ensure that vdd_core scale first, then vdd_mpu and finally vdd_iva. As part of doing this refactor the logic to allow for future addition of OMAP4470 without much ado. OMAP4470 uses different SMPS addresses and cannot be introduced in the current code without major rewrite. Reported-by:
Isabelle Gros <i-gros@ti.com> Reported-by:
Jerome Angeloni <j-angeloni@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
TPS SET0/SET1 register is selected by a GPIO pin on OMAP4460 platforms. Currently we control this pin with a mux configuration as part of boot sequence. Current configuration results in the following voltage waveform: |---------------| (SET1 default 1.4V) | --------(programmed voltage) | <- (This switch happens on mux7,pullup) vdd_mpu(TPS) -----/ (OPP boot voltage) --------- (programmed voltage) vdd_core(TWL6030) -----------------------/ (OPP boot voltage) Problem 1) |<----- Tx ------>| timing violation for a duration Tx close to few milliseconds. Problem 2) voltage of MPU goes beyond spec for even the highest of MPU OPP. By using GPIO as recommended as standard procedure by TI, the sequence changes to: -------- (programmed voltage) vdd_mpu(TPS) ------------/ (Opp boot voltage) --------- (programmed voltage) vdd_core(TWL6030) -------------/ (OPP boot voltage) NOTE: This does not attempt to address OMAP5 - Aneesh please confirm Reported-by:
Isabelle Gros <i-gros@ti.com> Reported-by:
Jerome Angeloni <j-angeloni@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Nishanth Menon authored
OMAP Voltage controller is used to generically talk to PMICs on OMAP3,4,5 over I2C_SR. Instead of replicating code in multiple SoC code, introduce a common voltage controller logic which can be re-used from elsewhere. With this change, we replace setup_sri2c with omap_vc_init which has the same functionality, and replace the voltage scale replication in do_scale_vcore and do_scale_tps62361 with omap_vc_bypass_send_value. omap_vc_bypass_send_value can also now be used with any configuration of PMIC. NOTE: Voltage controller controlling I2C_SR is a write-only data path, so no register read operation can be implemented. Reported-by:
Isabelle Gros <i-gros@ti.com> Reported-by:
Jerome Angeloni <j-angeloni@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com>
-
Jonathan Solnit authored
Add parameters to the OMAP MMC initialization function so the board can mask host capabilities and set the maximum clock frequency. While the OMAP supports a certain set of MMC host capabilities, individual boards may be more restricted and the OMAP may need to be configured to match the board. The PRG_SDMMC1_SPEEDCTRL bit in the OMAP3 is an example. Signed-off-by:
Jonathan Solnit <jsolnit@gmail.com>
-