summaryrefslogtreecommitdiffstats
path: root/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge branch 'for-next/png'Sascha Hauer2012-10-0319-23/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: common/filetype.c include/filetype.h
| * | | | bmp: rename it to splashJean-Christophe PLAGNIOL-VILLARD2012-09-1219-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so be can add more format support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/omap'Sascha Hauer2012-10-0315-141/+241
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile
| * | | | | scripts: add tool to create image for SPI boot on AM35xxJan Luebbe2012-10-022-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Booting from SPI on an AM35xx (and possibly other TI SOCs) requires a special format: - 32 bit image size in big-endian - 32 bit load address in big-endian - binary image converted from little- to big-endian The mk-am35xx-spi-image tool converts barebox.bin to this format. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | gpio: reduce verbosity while probingJan Luebbe2012-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM OMAP: switch to gpiolib supportTeresa Gámez2012-09-244-93/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | pcm049 phycard l + xl2: update partion sizesJan Weitzel2012-09-146-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use 512k NAND Partion for barebox in enviroment and boards code pcm049: use 4MB for kernel Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | xload: add SPI as a boot modeJan Luebbe2012-09-112-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | xload: make internal functions staticJan Luebbe2012-09-112-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | xload: get barebox size from barebox_arm_headJan Weitzel2012-09-072-5/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add functions to read the barebox_arm_head, check barebox magicword and read out the barebox image size. Create a inital partion of 1Mb to access the barebox image on nand. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | omap3: remove unused coded for clock configurationJan Luebbe2012-09-062-30/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | Merge branch 'for-next/mxs'Sascha Hauer2012-10-0311-0/+464
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boards/crystalfontz-cfa10036/cfa10036.c
| * | | | | arm: cfa10036: Add the OCOTP deviceMaxime Ripard2012-09-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | ARM mxs: Clear USB boot mode during startupSascha Hauer2012-09-161-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the i.MX28 boots from USB, the ROM code sets this bit. When after a reset the ROM code detects that this bit is set it will boot from USB again. This means that if we boot once from USB the chip will continue to boot from USB until the next power cycle. To prevent this (and boot from the configured bootsource instead) clear this bit here. This bit is not documented in the datasheets, it was figured out the hard way. Whether this is the same on i.MX23 is currently not known. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | boards: Add support for imx233-olinuxino boardFadil Berisha2012-09-109-0/+436
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imx23-olinuxino is a board designed by Olimex. It has the following features: - Freescale iMX233 ARM926J processor at 454MHz -64 MB RAM -SD-card connector -TV PAL/NTSC video output -2 USB High Speed Hosts -Ethernet 100 Mbit -Stereo Audio Input -Stereo Headphones Audio Output More information at: http://www.olimex.com/dev/imx233-olinuxino-maxi.html Signed-off-by: Fadil Berisha <f.koliqi@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | Merge branch 'for-next/misc'Sascha Hauer2012-10-031-0/+4
|\ \ \ \ \ \
| * | | | | | ARM i.MX: add debug for iomux-v3Sascha Hauer2012-09-281-0/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iomux setup often is the source of great fun. Add some debug printf for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | Merge branch 'for-next/make'Sascha Hauer2012-10-031-9/+12
|\ \ \ \ \ \
| * | | | | | ARM Makefile: switch to kbuild command definition for mkublheaderJan Luebbe2012-09-061-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | | kbuild: keep the barebox binary accessibleJan Luebbe2012-09-061-5/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When building a special image from the original (compressed or not) binary, to not overwrite KBUILD_BINARY. This allows producing multiple images (such as MLO, UBL, ...) from the (z)barebox.bin. In the case where no special image is used, KBUILD_IMAGE is set to KBUILD_BINARY. This patch was developed together with Sascha Hauer. Thanks! Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | Merge branch 'for-next/karo-tx53'Sascha Hauer2012-10-039-0/+514
|\ \ \ \ \ \
| * | | | | | ARM i.MX TX53: Add defconfigSascha Hauer2012-09-161-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | | ARM i.MX: Add Ka-Ro TX53 board supportSascha Hauer2012-09-168-0/+438
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | Merge branch 'for-next/boot-sequence-dhcp'Sascha Hauer2012-10-0331-164/+164
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: drivers/net/miidev.c
| * | | | | | dhcp: switch to global var supportJean-Christophe PLAGNIOL-VILLARD2012-10-0210-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way you can specify as previously set the dhcp parameter via global.dhcp.xxx and get the result via global.dhcp.xxx This is need for the defaultenv-2 to add the bootp suppport. Use it on defaultenv too to have only one set of var. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | | | | | defaultenv: switch hostname to global.hostnameJean-Christophe PLAGNIOL-VILLARD2012-10-0222-148/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Udpate dhcp with it too. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | | | | | Merge branch 'for-next/arm'Sascha Hauer2012-10-038-24/+36
|\ \ \ \ \ \ \
| * | | | | | | ARM lowlevel: Use get_runtime_offsetSascha Hauer2012-09-095-23/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current approach to get the offset between link and runtime address is fragile. It requires a big fat comment to put no code above it and it requires an extra linker section. Instead use a small assembler function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | | | ARM: Add assembler function to get runtime offsetSascha Hauer2012-09-093-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This function returns the offset between the address barebox is linked at and the address barebox is currently running at. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | | | ARM lowlevel: Update function documentationSascha Hauer2012-09-093-1/+10
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | | Merge branch 'for-next/amba'Sascha Hauer2012-10-032-6/+10
|\ \ \ \ \ \ \
| * \ \ \ \ \ \ Merge tag 'amba_bus' of git://git.jcrosoft.org/barebox into for-next/ambaSascha Hauer2012-09-112-6/+10
| |\ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | arm: Introduce ARM AMBA bus This allow to detect the amba device and use the right driver for it at runtime. With pl011 amba support (ARM & ST Variant) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| | * | | | | | amba-pl011: switch to amba busJean-Christophe PLAGNIOL-VILLARD2012-09-112-6/+10
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | switch as the same time the nomadik and versatile arch that use the driver. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* | | | | | | Merge branch 'for-next/net'Sascha Hauer2012-10-035-55/+80
|\ \ \ \ \ \ \
| * | | | | | | net: introduce phylibJean-Christophe PLAGNIOL-VILLARD2012-09-254-55/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adapt phylib from linux switch all the driver to it reimplement mii bus This will allow to have - phy drivers - to only connect the phy at then opening of the device - if the phy is not ready or not up fail on open Same behaviour as in linux and will allow to share code and simplify porting. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
| * | | | | | | drivers/net: add driver for the EMAC device found in some TI SoCsJan Luebbe2012-09-171-0/+48
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | | Merge branch 'for-next/driver'Sascha Hauer2012-10-0320-291/+221
|\ \ \ \ \ \ \
| * | | | | | | gpio: reduce verbosity while probingJan Luebbe2012-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | | | ARM i.MX: Add devicetree support for clocksource driverSascha Hauer2012-09-231-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | | | ARM i.MX: add devicetree support for gpio driverSascha Hauer2012-09-231-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | | | ARM i.MX: implement clocksource as driverSascha Hauer2012-09-1719-218/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To get rid of the register definitions in the SoC header files. platform_device_id is used to distinguish between gpt types. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | | | | ARM i.MX: Use platform_device_id for gpio driverSascha Hauer2012-09-1410-72/+91
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So we get the type of the gpio controller from the device Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | | ARM: Disable MMU feature in PBLSascha Hauer2012-10-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remap_cache currently does not work, so enabling the MMU in the PBL currently does not make sense. Disable it for now. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | | ARM: set rev instead of returning itvicencb@gmail.com2012-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | | ARM i.MX pca100: Fix nand bootSascha Hauer2012-10-022-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following missed to add a jump to board_init_lowlevel_return for the phycard pca100 board: | commit 244198ea8bdf592799ebfd430fe9ab165284e480 | Author: Sascha Hauer <s.hauer@pengutronix.de> | Date: Sun Jul 8 18:30:42 2012 +0200 | | ARM boards: Use _text rather than TEXT_BASE | | With compressed image support TEXT_BASE will become the base | address of the uncompressed image. What the boards want instead | is the base address of the decompressor code or, if not compressed, | the base address of the uncompressed image. Use _text which is | the correct one for both cases. | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> This fixes it by adding the jump. Also imx_nand_load_image is directly called from lowlevel_init.S which fixes compilation with pbl support enabled. Tested with both compression enabled and disabled. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | | arm: cfa10036: Add proper resource lengthMaxime Ripard2012-09-281-2/+3
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The cfa10036 board file were missing the length parameter when adding devices. This made barebox crash early in the boot, in the mxs-mci driver. Provide the resources lengths in a consistent format. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | ARM i.MX51 babbage: update defconfigSascha Hauer2012-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reenable DEFAULT_ENVIRONMENT_GENERIC_NEW which got lost somewhere. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | | ARM mmu: use xmemalignSascha Hauer2012-09-161-1/+1
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | So we do not silently fail. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | ARM i.MX6: fix usb_ehci warnings for sabreliteSteffen Trumtrar2012-09-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following warnings: arch/arm/boards/freescale-mx6-sabrelite/board.c: In function 'sabrelite_ehci_init': arch/arm/boards/freescale-mx6-sabrelite/board.c:265:2: warning: implicit declaration of function 'imx6_usb_phy1_disable_oc' [-Wimplicit-function-declaration] arch/arm/boards/freescale-mx6-sabrelite/board.c:266:2: warning: implicit declaration of function 'imx6_usb_phy1_enable' [-Wimplicit-function-declaration] Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | | ARM i.MX6: add usb function prototypesSteffen Trumtrar2012-09-161-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing prototypes to mach/usb.h Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>