- 23 Oct, 2014 21 commits
-
-
Stefan Roese authored
Additionally the SDRAM address decoding register address is not hard coded in the C code any more. A define is introduced for this base address. This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Luka Perkov <luka@openwrt.org> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Stefan Roese authored
This makes is possible to use this SPI driver from other MVEBU SoC's as well. As the upcoming Armada XP support will do. Signed-off-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by:
Luka Perkov <luka@openwrt.org> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Stefan Roese authored
This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Luka Perkov <luka@openwrt.org> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Stefan Roese authored
Compile the pin multiplexing only on Kirkwood platforms. As the Armada XP doesn't need it. Signed-off-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by:
Luka Perkov <luka@openwrt.org> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Stefan Roese authored
These mbus functions are ported from Barebox. The Barebox version is ported from Linux. These functions will be first used by the upcoming Armada XP support. Later other Marvell SoC's will be adopted to use these functions as well (Kirkwood, Orion). Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Luka Perkov <luka@openwrt.org>
-
Stefan Roese authored
This patch does the following: - Rename defines and registers to not use kirkwood - Remove unused defines - Use clrsetbits() accessor functions - Coding style cleanup - Clear 25MHZ bit in timer controller register init for Armada XP There is no functional change for kirkwood. At least not intentionally. This will be used by the upcoming Armada XP support. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Luka Perkov <luka@openwrt.org> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Stefan Roese authored
This move makes it possible to use this kirkwood SPI driver from other MVEBU platforms as well. This will be used by the upcoming Armada XP support. Signed-off-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by:
Luka Perkov <luka@openwrt.org> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Stefan Roese authored
This move makes is possible to use this header not only from kirkwood platforms but from all Marvell mvebu platforms. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Luka Perkov <luka@openwrt.org> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Stefan Roese authored
By moving some kirkwood files into a Marvell common directory, those files can be used by other Marvell platforms as well. The name mvebu is taken from the Linux kernel source tree. It has been chosen there to represent the SoC's from the Marvell EBU (Engineering Business Unit). Those SoC's currently are: Armada 370/375/XP, Dove, mv78xx0, Kirkwood, Orion5x This will be used by the upcoming Armada XP (MV78460) platform support. Signed-off-by:
Stefan Roese <sr@denx.de> Tested-by:
Luka Perkov <luka@openwrt.org> Acked-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
git://git.denx.de/u-boot-x86Tom Rini authored
-
git://git.denx.de/u-boot-fdtTom Rini authored
-
Simon Glass authored
If we know the file size, display it after loading the file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Enable FIT support and the bootelf command. Also change the default load address to somewhere other than the normal load address of the kernel, to allow for decompression without overwriting the original file. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
To get a display in U-Boot on link you must either build a coreboot that always sets it up, or use Esc-Refresh-Power to reset the machine. When we do have a display, it is nice to display the model at the top, so enable this option. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We may as well use hush. The auto-complete option was incorrect so this was not enabled. Also expand the command line size a little and go back to the default prompt since "boot>" doesn't seem any more useful. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
It does seem to work (tested on link), so update the docs. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add defines to enable the Chrome OS EC interface and set it up on init. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There was a minor rename of one of the defines, so update the driver. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add this to the table so that it can be recognised. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add the required node describing how to find the EC on link. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The dhcp option is required to get bootp to work on the Chromebook Pixel, so enable it. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- 22 Oct, 2014 19 commits
-
-
Thierry Reding authored
The fdt_for_each_subnode() iterator macro provided by this patch can be used to iterate over a device tree node's subnodes. At each iteration a loop variable will be set to the next subnode. Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
The fdtdec_pci_get_bdf() function returns the bus, device, function triplet of a PCI device by parsing the "reg" property according to the PCI device tree binding. Acked-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Thierry Reding <treding@nvidia.com>
-
Thierry Reding authored
Add the fdt_get_resource() and fdt_get_named_resource() functions which can be used to parse resources (memory regions) from an FDT. A helper to compute the size of a region is also provided. Signed-off-by:
Thierry Reding <treding@nvidia.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Thierry Reding authored
Given a device tree node, a property name and an index, the new function fdt_get_string_index() will return in an output argument a pointer to the index'th string in the property's value. The fdt_get_string() is a shortcut for the above with the index being 0. Signed-off-by:
Thierry Reding <treding@nvidia.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Thierry Reding authored
Given a device tree node and a property name, the new fdt_find_string() function will look up a given string in the string list contained in the property's value and return its index. Signed-off-by:
Thierry Reding <treding@nvidia.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Thierry Reding authored
Given a device tree node and a property name, the fdt_count_strings() function counts the number of strings found in the property value. Signed-off-by:
Thierry Reding <treding@nvidia.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
git://git.denx.de/u-boot-dmTom Rini authored
-
Simon Glass authored
Add driver model support in this driver, using platform data provided by the board. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Simon Glass authored
Adjust the driver so that leaf functions take a pointer to the serial port register base. Put all the global configuration in the init function, and use the same settings from then on. This makes it much easier to move to driver model without duplicating the code, since with driver model we use platform data rather than global settings. The driver is compiled with either the CONFIG_PL010_SERIAL or CONFIG_PL011_SERIAL option and this determines the uart type. With driver model this needs to come in from platform data, so create a new CONFIG_PL01X_SERIAL config which brings in the driver, and adjust the driver to support both peripheral variants. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Simon Glass authored
Convert the BCM2835 GPIO driver to use driver model, and switch over Raspberry Pi to use this, since it is the only board. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Stephen Warren <swarren@wwwdotorg.org> Acked-by:
Stephen Warren <swarren@wwwdotorg.org>
-
Simon Glass authored
Add a driver for the simple-bus nodes, which allows devices within these nodes to be bound. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Now that serial and GPIO are available for iMX.6, move cm_fx6 over as an example. Acked-by:
Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Nikita Kiryanov <nikita@compulab.co.il>
-
Simon Glass authored
Add driver model support with this driver. Boards which use this driver should define platform data in their board files. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Add driver model support with this driver. In this case the platform data is in the driver. It would be better to put this into an SOC-specific file, but this is best attempted when more boards are moved over to use driver model. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Nikita Kiryanov authored
Use gpio_request for all the gpios that are utilized by various subsystems in cm-fx6, and refactor the relevant init functions so that all gpios are requested during board_init(), not during subsystem init, thus avoiding the need to manage gpio ownership each time a subsystem is initialized. The new division of labor is: During board_init() muxes are setup and gpios are requested. During subsystem init gpios are toggled. Cc: Igor Grinberg <grinberg@compulab.co.il> Cc: Simon Glass <sjg@chromium.org> Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il>
-
Simon Glass authored
GPIOs should be requested before use. Without this, driver model will not permit the GPIO to be used. Cc: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Nikita Kiryanov <nikita@compulab.co.il> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-
Simon Glass authored
Since this function can fail, check its return value. Signed-off-by:
Simon Glass <sjg@chromium.org> Tested-by:
Nikita Kiryanov <nikita@compulab.co.il>
-
Simon Glass authored
Avoid duplicating the code which deals with getc() and putc(). It is fairly simple, but may expand later. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Now that some initcall functions return a useful error number, display it when something goes wrong. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Igor Grinberg <grinberg@compulab.co.il>
-