summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Release v2013.09.0v2013.09.0Sascha Hauer2013-09-041-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* PCM051: Fix muxing of MMC0 CDTeresa Gámez2013-09-031-1/+1
| | | | | | | | Card detect should be rather muxed as gpio then mmc0_sdcd, as driver does not support this. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* commands: Fix memtest return valueChristian Hemp2013-09-021-1/+1
| | | | | Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c-omap: fix am33xx and omap3 fclk_rateJan Weitzel2013-08-311-2/+2
| | | | | | | | commit f64ed12b accidentally swap fclk_rate from am33xx and omap3. Revert this change. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* console: fix console without CONFIG_PARAMETERJan Luebbe2013-08-261-2/+6
| | | | | | | If CONFIG_PARAMETER is not set, dev_set_param() does not call the setter function. Call it directly instead in this case. Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
* ARM: dts: imx53 qsb: remove wrong memory bankSascha Hauer2013-08-221-4/+0
| | | | | | | | The i.MX53 qsb has 1GiB of memory, but it's divided into two non contigous banks. Remove the wrong memory node since it's overwritten with the correct values during runtime anyway. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: move esdctl device registration to soc_initSascha Hauer2013-08-207-8/+8
| | | | | | | | | The esdctl devices are currently not in the devicetrees. this means they are not registered when booting from the devicetree. Move the device registration from soc_devices_init to soc_init which is called even with devicetree support so that we get esdctl devices. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* imx-image: Align image sizeSascha Hauer2013-08-151-3/+13
| | | | | | | Several boot modes on i.MX can't cope with partial pages or non word aligned image lengths, so align the size to 4k. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: base.c: Use correct device-tree in of_add_initrd()David Jander2013-08-141-1/+1
| | | | | | | | Otherwise only the internal DT is modified, not necessarily the one passed to the kernel. Signed-off-by: David Jander <david@protonic.nl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* globalvar: add missing includeSascha Hauer2013-08-141-0/+2
| | | | | | include/globalvar.h needs struct param_d, so include <param.h> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* of: Fix endless loop in of_add_memorySascha Hauer2013-08-141-1/+4
| | | | | | | of_add_memory is stuck in an endless loop when a memory bank with zero size is passed. Fix this. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* image: Add .gitignoreSascha Hauer2013-08-131-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* uimage: fix: fill size when no compression is usedJean-Christophe PLAGNIOL-VILLARD2013-08-121-0/+1
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* uimage: fix: always support multi image supportJean-Christophe PLAGNIOL-VILLARD2013-08-121-7/+0
| | | | | | | drop ifdef CONFIG_UIMAGE_MULTI as the Kconfig option is not present anyway Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Cleanup Kconfig filesAlexander Shiyan2013-08-125-12/+12
| | | | | | | | | This patch provides a global cleanup barebox Kconfig files. This includes replacing spaces to tabs, formatting in accordance format. No functional changes. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Revert "ARM: Use armlinux_bootparams address for DTB"Sascha Hauer2013-08-091-14/+6
| | | | | | | | | | | | | | | This patch placed the flattened devicetree to armlinux_bootparams. armlinux_bootparams normally is at SDRAM_START + 0x100. The kernels initial page tables are normally at SDRAM_START + 0x4000, so the flattened devicetree gets overwritten once it exceeds 0x3f00 bytes which is quite common. Revert this patch for now once a better solution can be found This reverts commit 0c4108f9173ece75d96f19b447ef6464bdfdf187. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Alexander Shiyan <shc_work@mail.ru>
* ARM: imx_v7_defconfig: Enable some features needed for the multi imageSascha Hauer2013-08-061-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: ubi: add missing prototype for ubi_volume_notifySascha Hauer2013-08-061-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mtd: ubi: remove calls to nonexisting functionsSascha Hauer2013-08-061-5/+0
| | | | | | | | We do not have ubi_do_get_volume_info and ubi_do_get_device_info and do not need them yet, so remove calls to these functions to fix compilation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/serial'Sascha Hauer2013-08-055-44/+144
|\
| * serial: ns16550: fill cdev just-in-timeAntony Pavlov2013-07-241-2/+1
| | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * serial: ns16550: get clock-frequency from dtAntony Pavlov2013-07-241-0/+6
| | | | | | | | | | | | | | | | | | This patch helps clk-less boards to use device tree for clock frequency probing (taken from linux.git/drivers/tty/serial/of_serial.c). Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * serial: ns16550: Add devicetree probe supportSascha Hauer2013-07-231-1/+24
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * serial: ns16550: Add clk support and make platform_data optionalSascha Hauer2013-07-231-3/+23
| | | | | | | | | | | | | | | | The clockrate was the only really needed field from platform data. Add clk support to retrieve the clockrate and make platform data optional. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * serial: ns16550: remove f_caps from platform_dataSascha Hauer2013-07-232-8/+1
| | | | | | | | | | | | | | So far no user had the need to set the flags, so just remove them from platform data. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * serial: ns16550: introduce private structSascha Hauer2013-07-231-9/+28
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * serial: ns16550: reorder functions to avoid forward declarationSascha Hauer2013-07-231-31/+28
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * clk: provide static inline wrappersSascha Hauer2013-07-233-1/+44
| | | | | | | | | | | | | | So that drivers can use clk_* functions without having to ifdef them away. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/ppc'Sascha Hauer2013-08-057-27/+7
|\ \
| * | P2020RDB: map boot flash.Renaud Barbier2013-08-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The chip select 0 (boot flash) registers are updated by the board specific code as it is not done by the cpu early initialisation any more. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | mpc85xx: remove local bus initialisationRenaud Barbier2013-08-055-23/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The early initialisation of chip select 0 (boot flash) is removed from cpu initialisation. This removes the dependency on board base address definition. Consequently, cpu_init_f is not called in the start-up code but added to the init call list as cpu_init_r. Also the file arch/ppc/mach-mpc85xx/fsl_lbc.c is deleted. Signed-off-by: Renaud Barbier <renaud.barbier@ge.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/omap'Sascha Hauer2013-08-0533-48/+606
|\ \ \
| * | | PCM051: Pass barebox partition informationTeresa Gámez2013-07-101-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pcm051 uses four MLO NAND partitions, so the default offset to the barebox can not be used. Pass custom struct. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM OMAP: get barebox partion information from boardcodeTeresa Gámez2013-07-102-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The size and offset of the barebox partition in nand and spi nor flash may vary on different boards. Make it possible to pass this information over boardfile if needed. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arm: omap: store boot source info from ROM loaderTeresa Gámez2013-07-1017-23/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ROM loader passes the address of a buffer to the MLO in register 0. Store this data so we can find the boot source later. On the same way the bootinformation are passed to the barebox, then. It has to be enshured that r0 contains always the buffer or the boot source detection will not work. Applied this on all OMAPs. This patch is based on work of Jan Luebbe <jlu@pengutronix.de>. Compile tested on all OMAP boards. Tested on pcm049, phyCARD-A-L1 and pcm051. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Tested-by: Christoph Fritz <chf.fritz@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: AM33xx: Make mpu pll configurable by lowlevel board codeTeresa Gámez2013-07-104-5/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM051: Add first stage supportShravan kumar2013-07-105-1/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds first stage support for PCM051. Signed-off-by: Shravan kumar <shravan.k@phytec.in> Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: AM33xx: Enable clock for all GPIO banksTeresa Gámez2013-07-091-0/+12
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM051: Rename SPI NOR deviceTeresa Gámez2013-07-093-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed SPI NOR device from nor0 to m25p0, to make booting from it possible. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM051: Update pcm051_defconfigTeresa Gámez2013-07-091-2/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM051: Add muxing for user led and btnTeresa Gámez2013-07-093-0/+27
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: AM33xx: Add gpio supportTeresa Gámez2013-07-091-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Register GPIO banks for AM33xx boards. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | PCM051: Add basic nand supportTeresa Gámez2013-07-094-3/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add basic NAND support for pcm051. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: AM33xx: Add basic NAND supportTeresa Gámez2013-07-094-3/+22
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/of'Sascha Hauer2013-08-0533-94/+877
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boards/freescale-mx53-loco/board.c drivers/of/Makefile
| * | | | ARM: i.MX51 efikasb: configure environment from devicetreeSascha Hauer2013-07-232-19/+36
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX53 QSB: configure environment from devicetreeSascha Hauer2013-07-232-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While at it use offset 512k to allow bigger barebox binaries. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX51 babbage: configure environment from devicetreeSascha Hauer2013-07-182-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While at it use offset 512k to allow bigger barebox binaries. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: i.MX Datamodul edmqx6: configure environment from devicetreeSascha Hauer2013-07-183-16/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This drops support for storing the environment in the eMMC, but the standard bootsource is the SPI NOR flash. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | Add configurability via devicetreeSascha Hauer2013-07-187-0/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the possibility to configure the place for the environment from the devicetree and to partition devices from the devicetree. Configuration has the general form of devices with a regular compatible property. This allows to later add additional drivers or drivers with different behaviour (for example to add support for redundant environment). The configuration is all in the /chosen/barebox/ hierarchy of the devicetree. This separates the configuration from the hardware description. Also it makes it possible to store the configuration in a completely separate devicetree (or devicetree overlay). For the same reason all configuration is done using nodepathes rather than phandles. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>