summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* block: remove unused read_start and read_done opsSascha Hauer2013-05-311-2/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* nand_base: sync flash detection functions with linux 3.9's codeEric Bénard2013-05-171-0/+2
| | | | | | | | | this fix the problems introduced when detecting non ONFI flashes in commit 4c2bdc8728016b3412523e3264651651fe752860 "nand_base: detect more ONFI flash" Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* gpio: fix typosAntony Pavlov2013-05-122-2/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/param'Sascha Hauer2013-05-067-16/+64
|\ | | | | | | | | Conflicts: drivers/mci/mci-core.c
| * mtd: Nand: Use dev_add_param_bool for erasebad parameterSascha Hauer2013-04-111-0/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * console: Use dev_add_param_int for baudrate parameterSascha Hauer2013-04-111-0/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * param: pass param to dev_remove_paramSascha Hauer2013-04-111-2/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * fb: Use dev_add_param_bool for enable parameterSascha Hauer2013-04-111-0/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ata: Use dev_add_param_bool for probe parameterSascha Hauer2013-04-111-0/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * mci: Use dev_add_param_int for probe parameterSascha Hauer2013-04-111-0/+2
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * param: remove now unused dev_[gs]et_param_ipSascha Hauer2013-04-111-15/+0
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: store ethernet device parameters in deviceSascha Hauer2013-04-111-1/+6
| | | | | | | | | | | | | | | | Rather than storing the parameters globally and trying to keep them in sync with the device parameters, store the parameters in the ethernet device directly. Also, update to dev_add_param_ip(). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * param: Add ip address convenience functionSascha Hauer2013-04-111-0/+13
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * param: Add integer and boolean parameter helpersSascha Hauer2013-04-111-0/+37
| | | | | | | | | | | | | | | | | | | | This adds convenience functions for directly registering integers and bools as device parameter. This way driver no longer have to fiddle with string handling. The format used to print the parameter is passed to the functions to be able to print parameters in a flexible way. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * param: Add dev member to struct param_dSascha Hauer2013-04-061-0/+1
| | | | | | | | | | | | This will make it unnecessary to pass the dev pointer around later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/of'Sascha Hauer2013-05-062-3/+42
|\ \ | | | | | | | | | | | | Conflicts: arch/arm/mach-imx/Makefile
| * | Add initial pinctrl supportSascha Hauer2013-04-231-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a massively stripped down pinctrl support. The upper API consists of only of: int pinctrl_select_state(struct device_d *dev, const char *state); This is used to setup the pinmux for a device to a certain state. This function normally does not need to be called manually. The device core will setup the default state before probing a device. The pinctrl core has the job of handling the devicetree. It parses the pinctrl phandles for a device from devicetree, finds the correct pinctrl device and calls its set_state callback with the pinctrl setup device node. The simplicity of this pinctrl framework comes from the fact that we: - Limit usage to devicetree only for now. For non devicetree use the old legacy SoC specific APIs still can be used. - Do not parse the devicetree into internal data structures which are used by the drivers later. This adds the overhead that we may parse the devicetree multiple times for more dynamic setups, but on the other hand we do not need to parse devices from the devicetree we don't use in barebox - Do not detect resource conflicts. Since the framework mainly is a devicetree parser this would be hard to implement. It should be easy for board maintainers to avoid resource conflicts though. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: partitions: pass struct cdev as argumentSascha Hauer2013-04-221-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | pass a struct cdev instead of the cdev name to of_parse_partitions. This is available to the caller anyway and makes it easier to use additional stuff from the cdev (like knowing whether it's a mtd device). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Allow multiple resources in 'reg' propertySascha Hauer2013-04-221-0/+1
| | | | | | | | | | | | | | | | | | | | | Some devices need multiple resources in the reg property. This patch adds support for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | of: Add of_property_read_string_index()Sascha Hauer2013-04-221-0/+2
| |/ | | | | | | | | | | Directly imported from the Kernel Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mtd'Sascha Hauer2013-05-061-9/+11
|\ \
| * | mtd: update NAND manufacturer names from the kernelJan Luebbe2013-04-111-9/+11
| |/ | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/misc'Sascha Hauer2013-05-061-1/+0
|\ \
| * | Remove unimplemented usb_driver_unregister declarationAlexander Shiyan2013-04-181-1/+0
| |/ | | | | | | | | | | | | We do not have usb_driver_unregister function, so remove this declaration. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/memory-commands'Sascha Hauer2013-05-061-1/+6
|\ \
| * | 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>
* / common/filetype: move partition-table detection into own functionHubert Feurstein2013-04-291-0/+1
|/ | | | | Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com> 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>