summaryrefslogtreecommitdiff
path: root/arch/arm/include
AgeCommit message (Collapse)Author
2011-10-27tegra2: Add more pinmux functionsSimon Glass
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 <[email protected]> Tested-by: Tom Warren <[email protected]>
2011-10-27tegra2: Rename PIN_ to PINGRP_Simon Glass
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 <[email protected]> Tested-by: Tom Warren <[email protected]>
2011-10-27tegra2: Add more clock functionsSimon Glass
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 <[email protected]> Tested-by: Tom Warren <[email protected]>
2011-10-27tegra2: Rename CLOCK_PLL_ID to CLOCK_IDSimon Glass
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 <[email protected]> Tested-by: Tom Warren <[email protected]>
2011-10-26fdt: ARM: Add device tree control of U-Boot (CONFIG_OF_CONTROL)Simon Glass
This adds a device tree pointer to the global data. It can be set by board code. A later commit will add support for making a device tree binary blob available to U-Boot for run-time configuration. Signed-off-by: Simon Glass <[email protected]>
2011-10-23arm: cache: define ARCH_DMA_MINALIGN for DMA buffer alignmentAnton Staaf
Signed-off-by: Anton Staaf <[email protected]> Cc: Mike Frysinger <[email protected]> Cc: Lukasz Majewski <[email protected]> Cc: Albert ARIBAUD <[email protected]>
2011-10-13mx31: make HSP clock for mx3fb driver availableHelmut Raiger
This additionally updates mx31/generic.c by - replacing __REG() macro accesses with readl() and writel() - providing macros for PDR0 and PLL bit accesses Signed-off-by: Helmut Raiger <[email protected]> Acked-by: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]> Acked-by: Stefano Babic <[email protected]> Signed-off-by: Anatolij Gustschin <[email protected]>
2011-10-05board configs: drop NET_MULTI referencesMike Frysinger
Now that none of the core checks CONFIG_NET_MULTI, there's not much point in boards defining it. So scrub all references to it. Signed-off-by: Mike Frysinger <[email protected]>
2011-10-05image: push default arch values to arch headersMike Frysinger
This pushes the ugly duplicated arch ifdef lists we maintain in various image related files out to the arch headers themselves. Acked-by: Nobuhiro Iwamatsu <[email protected]> Tested-by: Thomas Chou <[email protected]> Signed-off-by: Mike Frysinger <[email protected]>
2011-10-05POST: add post_log_res field for post results in global dataValentin Longchamp
The current post_log_word in global data is currently split into 2x 16 bits: half for the test start, half for the test success. Since we alredy have more than 16 POST tests defined and more could be defined, this may result in an overflow and the post_output_backlog would not work for the tests defined further of these 16 positions. An additional field is added to global data so that we can now support up to 32 (depending of architecture) tests. The post_log_word is only used to record the start of the test and the new field post_log_res for the test success (or failure). The post_output_backlog is for this change also adapted. Signed-off-by: Valentin Longchamp <[email protected]>
2011-10-05POST/arm: adaptations needed for POST on ARM to workValentin Longchamp
For post to run on ARM, 3 things are needed: - post_log_word to be defined in gd - a post.h include in arch/arm/lib/board.c Signed-off-by: Valentin Longchamp <[email protected]> Signed-off-by: Holger Brunck <[email protected]> Cc: Mike Frysinger <[email protected]> Acked-by: Mike Frysinger <[email protected]>
2011-10-05console: Implement pre-console bufferGraeme Russ
Allow redirection of console output prior to console initialisation to a temporary buffer. To enable this functionality, the board (or arch) must define: - CONFIG_PRE_CONSOLE_BUFFER - Enable pre-console buffer - CONFIG_PRE_CON_BUF_ADDR - Base address of pre-console buffer - CONFIG_PRE_CON_BUF_SZ - Size of pre-console buffer (in bytes) The pre-console buffer will buffer the last CONFIG_PRE_CON_BUF_SZ bytes Any earlier characters are silently dropped.
2011-09-30MX5: Modify the PLL decoding algorithmMarek Vasut
The PLL decoding algorithm didn't take into account many configuration bits. Adjust it according to Linux kernel. Also, add PLL4 for MX53. Signed-off-by: Marek Vasut <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Jason Hui <[email protected]> Tested-by: Jason Liu <[email protected]>
2011-09-30FEC: Move imx_get_mac_from_fuse() definition to fec_mxc.hMarek Vasut
Signed-off-by: Marek Vasut <[email protected]> Cc: Ben Warren <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Wolfgang Denk <[email protected]> Cc: Detlev Zundel <[email protected]>
2011-09-30MX31: Disable watchdog during low-power modesFabio Estevam
Turn on the watchdog WDZST bit so that watchdog timer does not count during low power modes. Prior to applying this patch mx31pdk board got watchdog resets because when it booted in the Linux prompt and there was no activity, the system entered into idle mode while watchdog timer was still active. Fix this by disabling watchdog timer during idle mode. Signed-off-by: Fabio Estevam <[email protected]>
2011-09-30MX25: tx25: Avoid the usage of extern in C fileFabio Estevam
Avoid the usage of extern in C file as pointed out by checkpatch. Signed-off-by: Fabio Estevam <[email protected]>
2011-09-30ARM: mx25: Print the silicon revisonFabio Estevam
Print the silicon revison during boot. Signed-off-by: Fabio Estevam <[email protected]>
2011-09-30arm, davinci, am1808: add lowlevel functions for booting from NORHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add ddr2 definitionHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci, am1808, gpio: add missing defines for bank 8Heiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add some missing defines in hardware.hHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add SYSCFG1 base and register structHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add RTC base addrHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add internal WDT support for AM1808 cpusHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: add missing timer baseaddresses for !DA8xx cpuHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30arm, davinci: move davinci_timer in header fileHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30net, davinci_emac: add KSZ8864 switchHeiko Schocher
Signed-off-by: Heiko Schocher <[email protected]> Cc: Paulraj Sandeep <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Mike Frysinger <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30mmc: omap: config VMMC, MMC1_PBIASBalaji T K
Config VMMC voltage to 3V for MMC/SD card slot and PBIAS settings needed for OMAP4 Fixes MMC/SD detection on boot from eMMC. Signed-off-by: Balaji T K <[email protected]> Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30devkit8000: Fix build breakSandeep Paulraj
Found a build erros when i ran MAKEALL. So fix it. Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30omap3: new SPL structure supportSimon Schwarz
Support for the new spl structure. Using the interface defined by Aneesh V for OMAP4 Signed-off-by: Simon Schwarz <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30omap-common: add nand spl supportSimon Schwarz
Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarz <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30omap3: Configure RAM bank 0 if in SPLSimon Schwarz
OMAP3 relied on the memory config done by X-loader or Configuration Header. This has to be reworked for the implementation of a SPL. This patch configures RAM bank 0 if CONFIG_SPL_BUILD is set. Settings for Micron-RAM used by devkit8000 are added to mem.h Signed-off-by: Simon Schwarz <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30OMAP3: Overo: Update GPMC timing for ethernet chipPhilip Balister
The existing timing does not quite meet the minimum requirements in the LAN9221 datasheet. The timing in this patch solves problems noticed on some parts. The patch also combines the CS configuration for the overo and igep0020 boards per request. Signed-off-by: Philip Balister <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-30Armada100: Enable Ethernet support for GplugDAjay Bhargav
This patch enables ethernet support for Marvell GplugD board. Network related commands works. Signed-off-by: Ajay Bhargav <[email protected]>
2011-09-30net: Adds Fast Ethernet Controller driver for Armada100Ajay Bhargav
This patch adds support for Fast Ethernet Controller driver for Armada100 series. Signed-off-by: Ajay Bhargav <[email protected]> Signed-off-by: Prafulla Wadaskar <[email protected]>
2011-09-30gpio: Add GPIO driver for Marvell SoC Armada100Ajay Bhargav
This patch adds support for generic GPIO driver framework for Marvell SoC Armada100. Signed-off-by: Ajay Bhargav <[email protected]>
2011-09-13omap4: IO settingsAneesh V
Tuning some IO settings for better performance and power. And consolidate all such IO settings at one place. Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-13omap4: make SDRAM init work for ES1.0 siliconAneesh V
SDRAM init was not working on ES1.0 due to a programming error. A pointer that was passed by value to a function was set in function emif_get_device_details(), but the effect wouldn't be seen in the calling function. The issue came out while testing for ES1.0 because ES1.0 doesn't have any SDRAM chips connected to CS1 Signed-off-by: Aneesh V <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-13omap: gpio: Use generic APISanjeev Premi
Convert all OMAP specific functions to use the common API definitions in include/asm/gpio.h. In the process, made few additional changes: - Use -EINVAL consistently. -1 was used in many places. - Removed one-liner static functions that were used only once. Replaced the content as necessary. - Combines implementation of functions omap_get_gpio_dataout() and omap_get_gpio_datain(). To do so, new static function _get_gpio_direction() was added. Signed-off-by: Sanjeev Premi <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-12ARMV7: OMAP3: Add 37xx ESx revision numbers.Howard D. Gray
OMAP3: Add 37xx ESx revision numbers. Signed-off-by: Michael Jones <[email protected]> Signed-off-by: Howard D. Gray <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-12OMAP: Add function to get state of a GPIO outputJoel A Fernandes
Read directly from OMAP_GPIO_DATAOUT to get the output state of the GPIO pin Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Jason Kridner <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-07MX31: fix missing mxc_get_clk() callStefano Babic
Add missing case to be used in common MXC code. Signed-off-by: Stefano Babic <[email protected]>
2011-09-07ARM: remove broken "impa7" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Marius Gröger <[email protected]>
2011-09-07ARM: remove broken "ep7312" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Marius Gröger <[email protected]>
2011-09-07Makefile : fix generation of cpu related asm-offsets.hStefano Babic
commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks building on a different directory with the O= parameter. The patch wil fix this issue, generating always asm-offsets.h before the other targets. Signed-off-by: Stefano Babic <[email protected]> CC: Matthias Weisser <[email protected]> CC: Wolfgang Denk <[email protected]>
2011-09-04OMAP3: Add DSS driver for OMAP3Syed Mohammed Khasim
* Supports dynamic panel configuration * Supports dynamic tv standard selection * Adds support for DSS register access through generic APIs * Incorporated DSS register access using structures. * DSS makefile update Previous discussions are here: http://www.mail-archive.com/[email protected]/msg27150.html Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: modifications for Logic PD Rev.3 AM18xx EVMNagabhushana Netagunte
AHCLKR/UART1_RTS/GP0[11] pin needs to be configured for NOR to work on Rev.3 EVM. When GP0[11] is low, the SD0 interface will not work, but NOR flash will. Signed-off-by: Rajashekhara, Sudhakar <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: add support to wake up DSP during board initNagabhushana Netagunte
add support for DSP wake-up by default on DA850/OMAP-L138 during board initialization. Enable hwconfig environment and added extra env setting through CONFIG_EXTRA_ENV_SETTINGS. To prevent DSP from being woken up,set the environment variable as, set hwconfig "dsp:wake=no" Signed-off-by: Sekhar Nori <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da8xx: add support for multiple PLL controllersSudhakar Rajashekhara
Modify clk_get() function in cpu file to work for multiple PLL controllers. Signed-off-by: Sudhakar Rajashekhara <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04omap3:clock: configure GFX clock to 200MHz for AM/DM37xVaibhav Hiremath
AM/DM37x is another OMAP3 variant, where the GFX clock has been boosted to 192MHz/200MHz. So fix the GFX_DIV value for this change. HW Errata: Due to dependency of TV out clock of 54MHz, it is not possible to configure GFX to 192MHz. So as per HW errats, the recommended GFX clock is 200MHz (=CORE_CLK/2). Signed-off-by: Vaibhav Hiremath <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>