summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeLines
...
| * kirkwood_spi: add dummy spi_init()Michael Walle2011-10-27-0/+4
| | | | | | | | | | | | The spi_init() function is missing. Add it. Signed-off-by: Michael Walle <michael@walle.cc>
| * gpio: mvmfp: reduce include platform fileLei Wen2011-10-27-7/+0
| | | | | | | | | | | | | | | | Build pass with following config: dkb_config aspenite_config Signed-off-by: Lei Wen <leiwen@marvell.com>
| * ARM: orion5x: reduce dependence of including platform fileLei Wen2011-10-27-15/+5
| | | | | | | | | | | | | | | | | | | | | | For files like the drivers/serial/serial.c, it must include the platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the definition in the platform definition files. Include the platform definition file in the config file, so that it would decouple the dependence for the driver files. Signed-off-by: Lei Wen <leiwen@marvell.com>
| * serial: reduce include platform file for marvell chipLei Wen2011-10-27-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build pass with following config: dkb_config aspenite_config edminiv2_config openrd_ultimate_config sheevaplug_config mv88f6281gtw_ge_config rd6281a_config guruplug_config km_kirkwood_config Signed-off-by: Lei Wen <leiwen@marvell.com> Acked-by: Wolfgang Denk <wd@denx.de>
| * ARM: kirkwood: reduce dependence of including platform fileLei Wen2011-10-27-6/+19
| | | | | | | | | | | | | | | | | | | | | | For files like the drivers/serial/serial.c, it must include the platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the definition in the platform definition files. Include the platform definition file in the config file, so that it would decouple the dependence for the driver files. Signed-off-by: Lei Wen <leiwen@marvell.com>
| * ARM: armada100: reduce dependence of including platform fileLei Wen2011-10-27-132/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | For files like the drivers/serial/serial.c, it must include the platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the definition in the platform definition files. Include the platform definition file in the config file, so that it would decouple the dependence for the driver files. Updated cpu.h to remove build errors for gplugd board (by prafulla) Signed-off-by: Lei Wen <leiwen@marvell.com> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
| * ARM: pantheon: reduce dependence of including platform fileLei Wen2011-10-27-8/+5
| | | | | | | | | | | | | | | | | | | | | | For files like the drivers/serial/serial.c, it must include the platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the definition in the platform definition files. Include the platform definition file in the config file, so that it would decouple the dependence for the driver files. Signed-off-by: Lei Wen <leiwen@marvell.com>
| * Armada100: Add env storage support for Marvell gplugDAjay Bhargav2011-10-27-2/+8
| | | | | | | | | | | | | | This patch adds support for envrionment varaible storage in SPI flash for Marvell gplugD. Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
| * Armada100: Add SPI flash support for Marvell gplugDAjay Bhargav2011-10-27-0/+4
| | | | | | | | | | | | | | This patch enables Atmel AT45 SPI flash support for Marvell gplugD Enables SF commands. Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
| * Armada100: Add SPI support for Marvell gplugDAjay Bhargav2011-10-27-0/+42
| | | | | | | | | | | | This patch add SPI driver support for Marvell gplugD Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
| * SPI: Add SPI driver support for Marvell Armada100Ajay Bhargav2011-10-27-0/+324
| | | | | | | | | | | | | | This patch provides support for SPI emulated over SSP for Marvell Armada100 SOC. Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
| * dreamplug: initial board support.Jason Cooper2011-10-27-0/+566
| | | | | | | | | | | | | | | | | | | | | | Copied wholeheartedly from board/Marvell/guruplug and modified to add support for SPI NOR flash. CONFIG_MACH_DREAMPLUG defined in include/configs/dreamplug.h until Linus's kernel.org tree adds it to mach-types.h. Once it trickles down, the definition can be removed from include/configs/dreamplug.h. Signed-off-by: Jason Cooper <u-boot@lakedaemon.net>
| * imx: fix coding styleFabio Estevam2011-10-27-101/+108
| | | | | | | | | | | | | | | | | | Fix checkpatch warning and errors in several i.MX related files. While at it also address a checkpatch warning at arch/arm/cpu/armv7/mx5/soc.c regarding the usage of extern in a C file. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
| * misc: pmic: drop old Freescale's pmic driverStefano Babic2011-10-27-236/+0
| | | | | | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
| * MX31: mx31pdk: use new pmic driverStefano Babic2011-10-27-1/+5
| | | | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
| * MX31: mx31ads: use new pmic driverStefano Babic2011-10-27-2/+6
| | | | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
| * MX31: mx31_litekit: use new pmic driverStefano Babic2011-10-27-3/+6
| | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * MX5: mx53evk: use new pmic driverStefano Babic2011-10-27-8/+14
| | | | | | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Jason Liu <jason.hui@linaro.org> Acked-by: Jason Liu <jason.hui@linaro.org>
| * MX5: mx51evk: use new pmic driverStefano Babic2011-10-27-22/+31
| | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * MX35: mx35pdk: use new pmic driverStefano Babic2011-10-27-8/+15
| | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * misc: pmic: addI2C support to pmic_fsl driverStefano Babic2011-10-27-4/+13
| | | | | | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
| * misc: pmic: use I2C_SET_BUS in pmic I2CStefano Babic2011-10-27-1/+1
| | | | | | | | | | | | | | | | Instead of using directly the i2c_set_bus() function, the I2C_SET_BUS macro must be used to avoid build errors for targets without multibus I2C. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * MX5: efikamx/efikasb: use new pmic driverStefano Babic2011-10-27-24/+32
| | | | | | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Marek Vasut <marek.vasut@gmail.com> Acked-by: Marek Vasut <marek.vasut@gmail.com>
| * MX3: qong: use new pmic driverStefano Babic2011-10-27-4/+12
| | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * RTC: Switch mc13783 to generic pmic codeStefano Babic2011-10-27-8/+12
| | | | | | | | Signed-off-by: Stefano Babic <sbabic@denx.de>
| * MX5: vision2: use new pmic driverStefano Babic2011-10-27-15/+23
| | | | | | | | | | | | Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * misc: pmic: Freescale PMIC switches to generic PMIC driverStefano Babic2011-10-27-4/+59
| | | | | | | | | | | | Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Stefano Babic <sbabic@denx.de>
| * misc:pmic:samsung Enable PMIC driver at GONI targetŁukasz Majewski2011-10-27-0/+8
| | | | | | | | | | | | | | | | Enable support for new PMIC driver at GONI reference target. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Stefano Babic <sbabic@denx.de>
| * misc:pmic:max8998 MAX8998 support at a new PMIC driver.Łukasz Majewski2011-10-27-0/+128
| | | | | | | | | | | | | | | | This commit adds support for MAX8998 PMIC driver. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Stefano Babic <sbabic@denx.de>
| * misc:pmic:core New generic PMIC driverŁukasz Majewski2011-10-27-0/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I2C or SPI PMIC devices can be accessed. Separate files: pmic_i2c.c and pmic_spi.c are responsible for handling transmission over I2C or SPI bus. New flags: CONFIG_PMIC - enable PMIC general device. CONFIG_PMIC_I2C/SPI - specify the interface to be used. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Stefano Babic <sbabic@denx.de>
| * mx31pdk: Remove unneeded configFabio Estevam2011-10-27-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there are two config options for building a U-boot binary for MX31PDK: make mx31pdk_config or, make mx31pdk_nand_config mx31pdk_config was developed first when no NAND SPL support was available for MX31 and it requires that the U-boot binary is loaded into RAM via JTAG and it forces SKIP_LOWLEVEL_INIT. mx31pdk_nand_config was added later and it allows booting from NAND Flash. Leave just one config option called mx31pdk so that it produces a binary that can boot from NAND Flash. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
| * mx31: provide readable WEIM CS accessorHelmut Raiger2011-10-27-77/+187
| | | | | | | | | | | | | | | | | | | | | | | | setup_weimcs() and some macros are added to support the setup for i.MX31 WEIM chip selects. As a compromise between verbosity and readability an ASCII-art'ish bit comment is used instead of bitfields. All i.MX31 boards have been patched to use this approach using a helper program to verify the changes. Signed-off-by: Helmut Raiger <helmut.raiger@hale.at> Acked-by: Stefano Babic <sbabic@denx.de>
| * MX51: vision2: Set global macrosStefano Babic2011-10-27-8/+9
| | | | | | | | | | | | | | Adapt vision2 to the current u-boot version. Drop own macros to set global data and use the common ones. Signed-off-by: Stefano Babic <sbabic@denx.de>
| * I2C: Add i2c_get/set_speed() to mxc_i2c.cMarek Vasut2011-10-27-8/+23
| | | | | | | | | | | | | | Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Heiko Schocher <hs@denx.de> Acked-by: Heiko Schocher <hs@denx.de>
| * ARM: Update mach-typesMarek Vasut2011-10-27-30689/+1985
| | | | | | | | | | | | | | | | | | This commit updates the mach-types based on the latest in Linus's head Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de>
| * devkit8000: Add config to enable SPL MMC bootSimon Schwarz2011-10-27-0/+5
| | | | | | | | | | | | Add MMC boot configs to devkit8000 config. Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
| * devkit8000: protect board_mmc_initSimon Schwarz2011-10-27-1/+1
| | | | | | | | | | | | | | This function is also defined in omap-common/spl_mmc.de so the implementation in devkit8000.c was protected by a ifdef. Signed-off-by: Simon Schwarz <simonschwarzcor@gmail.com>
| * arm, post: add missing post_time_ms for armHeiko Schocher2011-10-27-1/+1
| | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
| * cosmetic, post: Codingstyle cleanupHeiko Schocher2011-10-27-68/+59
| | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de>
| * arm, logbuffer: make it compilecleanHeiko Schocher2011-10-27-2/+1
| | | | | | | | | | Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
| * tegra2: Enable MMC for SeaboardTom Warren2011-10-27-14/+63
| | | | | | | | | | | | | | | | This adds the required GPIO and pinmux configuration to make eMMC / SD work on Seaboard. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Warren <twarren@nvidia.com>
| * tegra2: Add more pinmux functionsSimon Glass2011-10-27-49/+707
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for changing pinmux functions of pin groups. This is done by defining a PMUX_FUNC_... enum which can be used to select the function for each group using pinmux_set_func(). It is also possible to enable pullup/pulldown, and the existing tristate functionality is retained. Also provided is a means of configuring a list of pingroups by providing a configuration table to pinmux_config_table(). Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Warren <twarren@nvidia.com>
| * tegra2: Rename PIN_ to PINGRP_Simon Glass2011-10-27-148/+148
| | | | | | | | | | | | | | | | | | | | | | The pin groupings are better named PINGRP, since on Tegra2 they refer to multiple pins. Sorry about this, but better to get it right now when there is only a small amount of code affected. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Warren <twarren@nvidia.com>
| * tegra2: Add more clock functionsSimon Glass2011-10-27-215/+999
| | | | | | | | | | | | | | | | | | | | | | | | | | This adds most of the clock functions required by board and driver code: -query and adjust peripheral clocks -query and adjust PLLs -reset and enable control These functions are plumbed in as required. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Warren <twarren@nvidia.com>
| * tegra2: Clean up board code a littleSimon Glass2011-10-27-48/+20
| | | | | | | | | | | | | | | | | | | | | | | | This removes clock_init() and pinmux_init() which are names better suited to those respective modules. By moving board_init_f() to the bottom of the file we can remove the need for so many functions in the board.h header file. The only clock/pinmux/gpio init we need to do prior to relocation is for the UART. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Warren <twarren@nvidia.com>
| * tegra2: Rename CLOCK_PLL_ID to CLOCK_IDSimon Glass2011-10-27-27/+26
| | | | | | | | | | | | | | | | | | | | | | Rename CLOCK_PLL_ID to CLOCK_ID which takes account of the fact that the code now deals with both PLL clocks and source clocks. This also tidied up the assert() to match the one sent upstream, and fixes an error in the PWM id. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Warren <twarren@nvidia.com>
* | Merge branch 'master' of git://git.denx.de/u-boot-microblazeWolfgang Denk2011-10-28-1/+11
|\ \ | | | | | | | | | | | | | | | * 'master' of git://git.denx.de/u-boot-microblaze: microblaze: Fix strict-aliasing rules for in_be32 microblaze: Wire up axi_ethernet driver initialization
| * | microblaze: Fix strict-aliasing rules for in_be32Michal Simek2011-10-24-1/+1
| | | | | | | | | | | | | | | | | | readl should work with unsigned int instead of unsigned long. Signed-off-by: Michal Simek <monstr@monstr.eu>
| * | microblaze: Wire up axi_ethernet driver initializationMichal Simek2011-10-24-0/+10
| | | | | | | | | | | | | | | | | | Initialize axi_ethernet driver. Signed-off-by: Michal Simek <monstr@monstr.eu>
* | | DEBUG: Fix debug macrosMarek Vasut2011-10-27-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current implementation of debug doesn't play well with GCC4.6. This implementation also fixes GCC4.6 complaints about unused variables while maintaining code size. Also, drop the debugX() as that's not used anywhere anymore. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Marek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org>