summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Use a common define for RW_BUF_SIZESascha Hauer2013-04-171-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* memory commands: move memory_display to separate fileSascha Hauer2013-04-171-1/+1
| | | | | | | | memory_display is a function which should generally be available. Currently it depends on memory command support being compiled in, so move the function to a separate file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* memory commands: export common functionsSascha Hauer2013-04-171-0/+4
| | | | | | | The memory commands all use open_and_lseek and mem_parse_options. Export them to be able to split the memory commands into separate files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of/net: Add net related of helpersSascha Hauer2013-04-041-0/+14
| | | | | | | | of_get_phy_mode to parse the phy mode from the devicetree and of_get_mac_address to parse a MAC address from the devicetree. Directly taken from the Kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/zynq'Sascha Hauer2013-04-042-1/+32
|\ | | | | | | | | Conflicts: arch/arm/Makefile
| * macb: rename platform dataJosh Cartwright2013-04-031-0/+30
| | | | | | | | | | | | | | | | | | | | The macb/gem core is used by the Zynq SoC. In preparation of sharing the macb driver between at91 and Zynq, rename the platform data to 'struct macb_platform_data', and move the definition to a common location. Signed-off-by: Josh Cartwright <joshc@eso.teric.us> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: zynq: Add new architecture zynqSteffen Trumtrar2013-03-271-1/+2
| | | | | | | | | | | | | | | | | | Add basic support for the Xilinx Zynq-7000 EPP architecture. The Zynq-7000 is an embedded processing platform that combines a Cortex A9 dualcore MPSoC with an Artix-7 FPGA. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/omap'Sascha Hauer2013-04-041-0/+9
|\ \
| * | twl6030: add power button as an input keyVicente Bergas2013-03-251-0/+9
| |/ | | | | | | | | Signed-off-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/oftree'Sascha Hauer2013-04-046-1296/+97
|\ \
| * | Makefile.lib: Add dtc supportSascha Hauer2013-03-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add rules to generate dtb files from dts/dtsi files, optionally run the source files through the preprocessor. Also add a rule to generate object files to include in the barbox binary. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: make locally used functions staticSascha Hauer2013-03-061-0/+2
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: remove unused libfdtSascha Hauer2013-03-064-1280/+13
| | | | | | | | | | | | | | | | | | | | | Now that we are completely independent of libfdt remove the unused code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | bootm: Pass unflattened devicetree to handlersSascha Hauer2013-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to modify the tree in the handlers. This is necessary because the initrd addresses are only known inside the handlers, but not to the generic bootm code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add reservemap handlingSascha Hauer2013-03-061-0/+10
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: fixup unflattened devicetreeSascha Hauer2013-03-061-3/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add missing prototype for size/address counting functionsSascha Hauer2013-03-061-0/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add of property write functions for u32Sascha Hauer2013-03-061-0/+11
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Pass barebox internal format devicetree to of_get_fixed_treeSascha Hauer2013-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | With this every devicetree is first converted to the barebox internal format before it's converted back to dtb again. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: make OFDEVICE a user selectable optionSascha Hauer2013-03-061-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OFDEVICE decides whether or not we compile in support for probing devices from the devicetree. Let the user decide this explicitly. This makes the oftree, of_node and of_property commands independent of devicetree device support since being able to manipulate devicetrees has nothing to do with probing devices from the devicetree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of/fdt: use optimized endianess conversionSascha Hauer2013-03-061-5/+4
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: make flatten independent of libfdtSascha Hauer2013-03-061-2/+4
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: make unflatten independent of libfdtSascha Hauer2013-03-061-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add initrd helperSascha Hauer2013-03-061-0/+3
| | | | | | | | | | | | | | | | | | Add a helper to set the initrd properties in the unflattened tree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add of_write_number helperSascha Hauer2013-03-061-0/+11
| | | | | | | | | | | | | | | | | | | | | The counterpart to of_read_number: Write a 32bit or 64bit number to a devicetree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add root node argument to of_find_node_by_pathSascha Hauer2013-03-061-1/+1
| | | | | | | | | | | | | | | | | | This makes of_find_node_by_path usable with multiple trees. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: let of_unflatten_dtb return the unflattened treeSascha Hauer2013-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | In order to be able to handle multiple devicetrees, do not assume the tree to be unflattened is the barebox internal one. Instead, just return a pointer to it and assign the barebox internal root_node external to the unflatten function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add missing prototype for of_device_is_compatibleSascha Hauer2013-03-061-0/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add of_set_property and of_create_nodeSascha Hauer2013-03-061-0/+3
| | | | | | | | | | | | | | | | | | | | | Add functions to create a new device node and to create/set a new property based on the nodepath. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: remove allnodes listSascha Hauer2013-03-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The allnodes list makes it hard to handle multiple devicetrees. Having a list to iterate over all nodes of a tree is still good to have though. This patch uses the list_head of the root node as the head of the list. This way the root node is no longer part of the list, but when iterating over a tree the root node is not interesting anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: export of_find_childSascha Hauer2013-03-061-0/+2
| | | | | | | | | | | | | | | | | | | | | of_find_child is a useful function. Export it and rename it to of_find_child_by_name. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mtd'Sascha Hauer2013-04-043-76/+105
|\ \ \
| * | | mtd: nand: replace NAND_USE_FLASH_BBT with NAND_BBT_USE_FLASHSascha Hauer2013-03-042-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | To sync with the kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mtd nand: introduce bbm.hSascha Hauer2013-03-042-72/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This file is present in current kernels. In order to get closer to current mtd support introduce it for barebox aswell. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mtd: Add parameter to allow erasing bad blocksSascha Hauer2013-03-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While erasing bad blocks is a potentially dangerous operation it is sometimes needed during development or when some foreign code has touched the flash. This patch adds a device parameter 'erasebad' to allow erasing bad blocks. Since this is not wanted during production this is behind a Kconfig option. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mtd: nand: register nand flashes with nand specific functionSascha Hauer2013-03-041-1/+1
| |/ / | | | | | | | | | | | | | | | | | | This allows us to have some NAND specific stuff during registration, like for example adding NAND specific device parameters. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/misc'Sascha Hauer2013-04-041-2/+0
|\ \ \
| * | | clk: remove unused __clk_[get|put]Sascha Hauer2013-04-031-2/+0
| | |/ | |/| | | | | | | | | | | | | | | | This is some unused code resulting from copying stuff from the kernel. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/malloc-all-initcalls'Sascha Hauer2013-04-041-1/+1
|\ \ \
| * | | bus: Make struct device a pointerSascha Hauer2013-03-141-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | struct bus_type contains an embedded struct device_d which is quite a big structure. Dynamically allocate this instead to save the space in the binary. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/imx-realq7'Sascha Hauer2013-04-041-1/+8
|\ \ \ | | | | | | | | | | | | Fix realq7 compilation
| * | | net: phy: micrel: Update id table from kernelSascha Hauer2013-03-111-1/+8
| |/ / | | | | | | | | | | | | | | | To get more phy ids. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/fec'Sascha Hauer2013-04-041-12/+1
|\ \ \
| * | | net: fec: use standard phy type definesSascha Hauer2013-03-091-11/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | net: fec: drop sevenwire supportSascha Hauer2013-03-091-1/+0
| |/ / | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/device-driver-macros'Sascha Hauer2013-04-043-7/+15
|\ \ \
| * | | Introduce device_spi_driver() macro and use it for SPI driversAlexander Shiyan2013-03-141-0/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | I2C: Rename i2c_register_driver() for using with register_driver_macro()Alexander Shiyan2013-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | SPI: Rename spi_register_driver() for using with register_driver_macro()Alexander Shiyan2013-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Introduce console_platform_driver() macro and use it for serial driversAlexander Shiyan2013-03-141-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>