| 82afcc9e | 24-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Do not touch 'ratio1' fields
The various ratio1 fields are not documented in any of the documentation I can find. Removing these and testing has yielded success, so remove the code that set
am33xx: Do not touch 'ratio1' fields
The various ratio1 fields are not documented in any of the documentation I can find. Removing these and testing has yielded success, so remove the code that sets them and move their locations into the reserved fields.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 5ac3b7ad | 24-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Rework config_io_ctrl slightly
This function sets a number of related registers to the same value (the registers in question all have the same field descriptions and are related in operation
am33xx: Rework config_io_ctrl slightly
This function sets a number of related registers to the same value (the registers in question all have the same field descriptions and are related in operation). Rather than defining a struct and setting the value repeatedly, just pass in the value.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| ff7ec0f9 | 24-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Use emif_regs struct for storing initialization values
Rather than defining our own structs to note what to use when programming the EMIF and related re-use the emif_regs struct.
Signed-off
am33xx: Use emif_regs struct for storing initialization values
Rather than defining our own structs to note what to use when programming the EMIF and related re-use the emif_regs struct.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 87a1acbb | 24-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Turn a number of 'int' functions to 'void'
A number of memory initalization functions were int and always returned 0. Further it's not feasible to be doing error checking here, so simply tu
am33xx: Turn a number of 'int' functions to 'void'
A number of memory initalization functions were int and always returned 0. Further it's not feasible to be doing error checking here, so simply turn them into void functions.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| c48c8954 | 24-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Document what we're doing with ddrctrl->ddrckectrl
- Remove the call to set ddrctrl->ddrioctrl as it's all zeros. - Comment what we're really setting in ddrctrl->ddrckectrl which is that w
am33xx: Document what we're doing with ddrctrl->ddrckectrl
- Remove the call to set ddrctrl->ddrioctrl as it's all zeros. - Comment what we're really setting in ddrctrl->ddrckectrl which is that we're operating in the normal mode where EMIF/PHY clock is controlled by the PHY.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| c8da4a58 | 24-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Clean up unused DDR defines, prefix more with 'DDR2'
- Remove a handful of unused defines. - Prefix more values with 'DDR2' as DDR3 will require different values.
Signed-off-by: Tom Rini <t
am33xx: Clean up unused DDR defines, prefix more with 'DDR2'
- Remove a handful of unused defines. - Prefix more values with 'DDR2' as DDR3 will require different values.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| b971dfad | 03-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Move the call to ddr_pll_config, make it take the frequency
Depending on if we have DDR2 or DDR3 on the board we will need to call ddr_pll_config with a different value. This call can be de
am33xx: Move the call to ddr_pll_config, make it take the frequency
Depending on if we have DDR2 or DDR3 on the board we will need to call ddr_pll_config with a different value. This call can be delayed slightly to the point where we know which type of memory we have.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| fda35eb9 | 03-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Pass to config_ddr the type of memory that is connected
We need to pass in the type of memory that is connected to the board. The only reliable way to do this is to know what type of board w
am33xx: Pass to config_ddr the type of memory that is connected
We need to pass in the type of memory that is connected to the board. The only reliable way to do this is to know what type of board we are running on (which later will be knowable in s_init()). For now, pass in the value of DDR2.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| bce58fec | 03-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Make config_cmd_ctrl / config_ddr_data take const structs
Rework the EMIF4/DDR code slightly to setup the structs that config_cmd_ctrl and config_ddr_data take to be setup at compile time an
am33xx: Make config_cmd_ctrl / config_ddr_data take const structs
Rework the EMIF4/DDR code slightly to setup the structs that config_cmd_ctrl and config_ddr_data take to be setup at compile time and mark them as const. This lets us simplify the calling path slightly as well as making it easier to deal with DDR3.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 10e7e36d | 26-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Rework DDR2 EMIF initalization slightly
With the previous bugfix we now don't need to set two different REF_CTRL values and instead set the final value.
Signed-off-by: Tom Rini <trini@ti.co
am33xx: Rework DDR2 EMIF initalization slightly
With the previous bugfix we now don't need to set two different REF_CTRL values and instead set the final value.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 372f11f5 | 26-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Bugfix to config_sdram()
When we change SDRAM_CONFIG this triggers a refresh based on all of the parameters that we have programmed so we must do this last.
Signed-off-by: Tom Rini <trini@t
am33xx: Bugfix to config_sdram()
When we change SDRAM_CONFIG this triggers a refresh based on all of the parameters that we have programmed so we must do this last.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 13f1c44b | 03-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Remove extra check in enable_ddr_clocks
We do not need to check for EMIF_GCLK and L3_GCLK being active. This was a hold-over from bringup and no longer required.
Signed-off-by: Tom Rini <t
am33xx: Remove extra check in enable_ddr_clocks
We do not need to check for EMIF_GCLK and L3_GCLK being active. This was a hold-over from bringup and no longer required.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 7d5eb349 | 29-May-2012 |
Tom Rini <trini@ti.com> |
am33xx: Convert to using <asm/emif.h> to describe the EMIF
Signed-off-by: Tom Rini <trini@ti.com> |
| a438c756 | 31-Jul-2012 |
Tom Rini <trini@ti.com> |
am33xx: Enable gpio0 clock
Signed-off-by: Tom Rini <trini@ti.com> |
| e79cd8eb | 24-Jul-2012 |
Chandan Nath <chandan.nath@ti.com> |
am33xx: CPSW init and definitions
This patch adds platform-specific initialization for CPSW switch on TI AM33XX SoCs.
Signed-off-by: Chandan Nath <chandan.nath@ti.com> [Ilya: split init out of orig
am33xx: CPSW init and definitions
This patch adds platform-specific initialization for CPSW switch on TI AM33XX SoCs.
Signed-off-by: Chandan Nath <chandan.nath@ti.com> [Ilya: split init out of original patch] Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com>
show more ...
|
| 680866a5 | 09-Jul-2012 |
Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com> |
arm/davinci/da850: add uart0 pinmux
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com> Tested-by: Sughosh Ganu <urwithsughosh@gmail.com> |
| 89473d23 | 09-Jul-2012 |
Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com> |
arm/davinci: fix DDR2/mDDR memory controller initialization for Omap L138
follow section 15.2.13.1 (Initializing Following Device Power Up or Reset) of OMAP-L138 DSP+ARM Processor Technical Referenc
arm/davinci: fix DDR2/mDDR memory controller initialization for Omap L138
follow section 15.2.13.1 (Initializing Following Device Power Up or Reset) of OMAP-L138 DSP+ARM Processor Technical Reference Manual
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com> Acked-by: Christian Riesch <christian.riesch@omicron.at> Tested-by: Christian Riesch <christian.riesch@omicron.at>
show more ...
|
| c50afc1d | 20-Jul-2012 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Revert "arm: armv7: add compile option -mno-unaligned-access if available"
This reverts commit 5347560f5427bcdd48a563b62180481606ac8044, which was applied only to get release 2012.07 functional on a
Revert "arm: armv7: add compile option -mno-unaligned-access if available"
This reverts commit 5347560f5427bcdd48a563b62180481606ac8044, which was applied only to get release 2012.07 functional on as many ARM targets as possible despite mis-aligned accesses.
show more ...
|
| d3decdeb | 22-Jun-2012 |
Steve Sakoman <steve@sakoman.com> |
omap: am335x_evm: enable i2c1 channel
This patch sets up pinmux, enables fclk, and defines CONFIG_I2C_MULTI_BUS
Signed-off-by: Steve Sakoman <steve@sakoman.com> |
| 0d986e61 | 24-Jun-2012 |
Lad, Prabhakar <prabhakar.lad@ti.com> |
da850/omap-l138: Add support to read u-boot image from MMC/SD
DA850/OMAP-L138 does not support strict MMC/SD boot mode. SPL will be in SPI flash and U-Boot image will be in MMC/SD card. SPL will do
da850/omap-l138: Add support to read u-boot image from MMC/SD
DA850/OMAP-L138 does not support strict MMC/SD boot mode. SPL will be in SPI flash and U-Boot image will be in MMC/SD card. SPL will do the low level initialization and then loads the u-boot image from MMC/SD card.
Define CONFIG_SPL_MMC_LOAD macro in the DA850/OMAP-L138 configuration file to enable this feature.
Tested-by: Christian Riesch <christian.riesch@omicron.at> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com> Signed-off-by: Hadli, Manjunath <manjunath.hadli@ti.com>
show more ...
|
| 560e69bf | 24-Jun-2012 |
Lad, Prabhakar <prabhakar.lad@ti.com> |
arm, davinci: perform check for initializing global data and serial init
initialize baudrate, flags, data and serial initialization, only when CONFIG_SPL_LIBCOMMON_SUPPORT is defined.
Tested-by: Ch
arm, davinci: perform check for initializing global data and serial init
initialize baudrate, flags, data and serial initialization, only when CONFIG_SPL_LIBCOMMON_SUPPORT is defined.
Tested-by: Christian Riesch <christian.riesch@omicron.at> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com> Signed-off-by: Hadli, Manjunath <manjunath.hadli@ti.com> Acked-by: Christian Riesch <christian.riesch@omicron.at>
show more ...
|
| ecc98ec1 | 24-Jun-2012 |
Lad, Prabhakar <prabhakar.lad@ti.com> |
da850/omap-l138: Add MMC support for DA850/OMAP-L138
This patch adds support for MMC/SD on DA850/OMAP-L138.
Tested-by: Christian Riesch <christian.riesch@omicron.at> Signed-off-by: Lad, Prabhakar <
da850/omap-l138: Add MMC support for DA850/OMAP-L138
This patch adds support for MMC/SD on DA850/OMAP-L138.
Tested-by: Christian Riesch <christian.riesch@omicron.at> Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com> Signed-off-by: Hadli, Manjunath <manjunath.hadli@ti.com>
show more ...
|
| 3b97152b | 04-Jun-2012 |
Steve Sakoman <steve@sakoman.com> |
omap: am33xx: enable gpio support
This patch uses the code in omap-common to support gpio modules 1-3 on am33xx based boards.
It adds base address and register definitions, enables clocks to the mo
omap: am33xx: enable gpio support
This patch uses the code in omap-common to support gpio modules 1-3 on am33xx based boards.
It adds base address and register definitions, enables clocks to the modules, and enables building the common gpio code for CONFIG_AM33XX as well as CONFIG_OMAP
Signed-off-by: Steve Sakoman <steve@sakoman.com>
show more ...
|
| 0044c42e | 16-Aug-2012 |
Stefan Roese <sr@denx.de> |
Consolidate bootcount code into drivers/bootcount
This patch moves all bootcount implementations into a common directory: drivers/bootcount. The generic bootcount driver is now usable not only by po
Consolidate bootcount code into drivers/bootcount
This patch moves all bootcount implementations into a common directory: drivers/bootcount. The generic bootcount driver is now usable not only by powerpc platforms, but others as well.
Signed-off-by: Stefan Roese <sr@denx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Valentin Longchamp <valentin.longchamp@keymile.com> Cc: Christian Riesch <christian.riesch@omicron.at> Cc: Manfred Rudigier <manfred.rudigier@omicron.at> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Rob Herring <rob.herring@calxeda.com> Cc: Reinhard Meyer <reinhard.meyer@emk-elektronik.de> Tested-by: Valentin Longchamp <valentin.longchamp@keymile.com> Tested-by: Christian Riesch <christian.riesch@omicron.at> Acked-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| c65c05f5 | 23-Jul-2012 |
Rajeshwari Shinde <rajeshwari.s@samsung.com> |
EXYNOS: PINMUX: Add pinmux support for I2C
This patch adds pinmux code for I2C.
Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> |