- 23 10月, 2014 40 次提交
-
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NLuka Perkov <luka@openwrt.org> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Reviewed-by: NJagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by: NLuka Perkov <luka@openwrt.org> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Stefan Roese 提交于
This makes is possible to use those gpio functions from other MVEBU SoC's as well. Signed-off-by: NStefan Roese <sr@denx.de> Tested-by: NLuka Perkov <luka@openwrt.org> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Stefan Roese 提交于
Compile the pin multiplexing only on Kirkwood platforms. As the Armada XP doesn't need it. Signed-off-by: NStefan Roese <sr@denx.de> Reviewed-by: NJagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by: NLuka Perkov <luka@openwrt.org> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NLuka Perkov <luka@openwrt.org>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NLuka Perkov <luka@openwrt.org> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Reviewed-by: NJagannadha Sutradharudu Teki <jaganna@xilinx.com> Tested-by: NLuka Perkov <luka@openwrt.org> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Stefan Roese 提交于
This move makes is possible to use this header not only from kirkwood platforms but from all Marvell mvebu platforms. Signed-off-by: NStefan Roese <sr@denx.de> Tested-by: NLuka Perkov <luka@openwrt.org> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Stefan Roese 提交于
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: NStefan Roese <sr@denx.de> Tested-by: NLuka Perkov <luka@openwrt.org> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
-
-
由 Simon Glass 提交于
If we know the file size, display it after loading the file. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
It does seem to work (tested on link), so update the docs. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add defines to enable the Chrome OS EC interface and set it up on init. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
There was a minor rename of one of the defines, so update the driver. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add this to the table so that it can be recognised. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Add the required node describing how to find the EC on link. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
The dhcp option is required to get bootp to work on the Chromebook Pixel, so enable it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Thierry Reding 提交于
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: NSimon Glass <sjg@chromium.org> Signed-off-by: NThierry Reding <treding@nvidia.com>
-
由 Thierry Reding 提交于
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: NSimon Glass <sjg@chromium.org> Signed-off-by: NThierry Reding <treding@nvidia.com>
-
由 Thierry Reding 提交于
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: NThierry Reding <treding@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thierry Reding 提交于
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: NThierry Reding <treding@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thierry Reding 提交于
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: NThierry Reding <treding@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Thierry Reding 提交于
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: NThierry Reding <treding@nvidia.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
-
由 Simon Glass 提交于
Add driver model support in this driver, using platform data provided by the board. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org> Tested-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org> Tested-by: NStephen Warren <swarren@wwwdotorg.org> Acked-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Simon Glass 提交于
Add a driver for the simple-bus nodes, which allows devices within these nodes to be bound. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Now that serial and GPIO are available for iMX.6, move cm_fx6 over as an example. Acked-by: NIgor Grinberg <grinberg@compulab.co.il> Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NNikita Kiryanov <nikita@compulab.co.il>
-
由 Simon Glass 提交于
Add driver model support with this driver. Boards which use this driver should define platform data in their board files. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org> Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
-
由 Nikita Kiryanov 提交于
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: NNikita Kiryanov <nikita@compulab.co.il>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org> Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il> Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
-
由 Simon Glass 提交于
Since this function can fail, check its return value. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NNikita Kiryanov <nikita@compulab.co.il>
-
由 Simon Glass 提交于
Avoid duplicating the code which deals with getc() and putc(). It is fairly simple, but may expand later. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Now that some initcall functions return a useful error number, display it when something goes wrong. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NIgor Grinberg <grinberg@compulab.co.il>
-