summaryrefslogtreecommitdiffstats
path: root/arch/arm/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Makefile: format fixJuergen Borleis2017-01-191-1/+1
| | | | Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* arm: Add both .lds files to CLEAN_FILES unconditionallyAndrey Smirnov2016-08-241-4/+0
| | | | | | | | | | 'clean' target is listed on 'no-dot-config-targets' list in main Makefile so that conditional statement would yeild the same result every time. Given how CLEAN_FILES are rm'ed with -f there should be no harm in specifying them both unconditionally. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* fix ARMv8 interference with ARMv7Vicente Bergas2016-08-151-1/+1
| | | | | | | | | | | CONFIG_CPU_V8 is checked against 'y' and 'n', but the case when the variable is unset is not considered. This patch only checks the variable against a single value 'y' so the logic is always coherent even when the variable is unset. Signed-off-by: Vicente Bergas <vicencb@gmail.com> Tested-by: Vicente Bergas <vicencb@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: pcm043: add a flash-header.imxcfgUwe Kleine-König2016-08-031-0/+1
| | | | | | | This creates an image that can be booted via USB. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2016-07-111-0/+1
|\
| * ARM i.MX35: Add support for the Amazon Kindle3Alexander Kurz2016-07-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Amazon Model No. D00901 Kindle3 is an E-Book reader based on the i.MX35 SOC. The device boots in internal boot mode from a build-in eMMC, alternatively the device may be set into USB-downloader mode when the Vol+ key is pressed on startup. Add support for this device and make barebox a drop-in replacement for the factory shipped u-boot image. Constraints for the use as drop-in replacement: - imximg header (offset 0x400) has a maximum size of 2kB minus 16 byte since the last 16 bytes are used to store a vendor specific hardware desctription identifier - the bootloader space (application plus env) is limited to 256kB minus 16 bytes when installed with offset of 4kB (the u-boot offset was 3kB). A vendor specific device identifier is stored in the gap between application and kernel. The vendor specific identifiers should not be overwritten. Notable features: - Support for eMMC, USB, UART, I2C, SPI and Keys (except keyboard) - Full support for vendor specific ATAGs - usbserial barebox console access by pressing Select button at startup, alternatively full console support on connector J14. Signed-off-by: Alexander Kurz <akurz@blala.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: boards: add mach-qemu and virt64 boardRaphael Poggi2016-07-061-0/+1
| | | | | | | | | | | | | | Introduce mach-qemu and add qemu virt64 board which emulates arm64 board. Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: rework lib directory to support arm64Raphael Poggi2016-07-061-4/+20
| | | | | | | | | | | | | | | | | | | | | | This commit create a common directory, lib/, for arm and arm64 common code. It also create lib32/ and lib64/ for 32bit and 64bit code respectively. Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: Makefile: rework makefile to handle armv8Raphael Poggi2016-07-061-0/+16
|/ | | | | Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Make: i.MX: Allow to pass config file to cmd_imx_imageSascha Hauer2016-02-041-1/+1
| | | | | | | | Pass the config file to cmd_imx_image as arguments to make it more flexible. Also add the possibility for another arg containing additional options. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bcm2835: introduce mach-bcm283xAlexander Aring2016-01-041-1/+1
| | | | | | | | | | | | This patch changes the most part of mach-bcm2835 to mach-bcm283x. This prepares to add RPi2 support which is a bcm2836. This patch changes the Kconfig entry namens to BCM283X for drivers only. These drivers should working the same in bcm2836. While updating defconfig I added LED support/trigger option. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: Disable unaligned accessesAndrey Smirnov2015-10-151-0/+7
| | | | | | | | | | | | | | | | | | | From reading ARM architecture related documentation if appears that while unaligned memory access is supported by the processor in general it is not supported if MMU is disabled. The problem in question can be easily reproduced by building the code without this patch, MMU disabled, and trying to run 'memtest' command. Which would in turn call mem_test() which would eventually call show_progress(). That last function, if build without -mno-unaligned-access would result in unaligned memory access which would result in Barebox hanging. This patch instructs the compiler to not generate any unaligned accesses to memory thus avoiding the problem. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: crypto: add sha1 assembly supportJean-Christophe PLAGNIOL-VILLARD2015-03-271-0/+1
| | | | | | | | | | | | | | | | | | from Linux 3.9 linux generic implementation $ ls -al build/versatilpb/arch/arm/pbl/zbarebox.bin -rw-r--r-- 1 root root 210829 Mar 24 13:21 build/versatilpb/arch/arm/pbl/zbarebox.bin linux arm v4 asm implementation $ ls -al build/versatilpb/arch/arm/pbl/zbarebox.bin -rw-r--r-- 1 root root 207786 Mar 24 13:23 build/versatilpb/arch/arm/pbl/zbarebox.bin we win 3043 bytes and speed cf code Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2015-03-091-1/+3
|\
| * ARM: do not specify -static and -pie at the same timeLucas Stach2015-03-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | PIE is a form of dynamic linking and thus inherently incompatible with -static. It worked ok as the current behavior of ld.bfd is to not respect -static if -pie has been specified. ld.gold and future versions of ld.bfd will fail to link if both of those incompatible switches are specified at the same time. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: i.MX: remove i.MX6 ARM2 board supportSascha Hauer2015-03-091-1/+0
|/ | | | | | | This board is an early development sample that was never sold. Remove support for it. With this the last non device tree i.MX6 board is gone. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* kbuild: arm: Do not define "comma" twiceMasahiro Yamada2015-01-131-2/+0
| | | | | | | | | | | | The definition of "comma" exists in scripts/Kbuild.include. We should not double it. Note: This was already fixed in Linux Kernel too. See commit 226422d08c33 of Linux Kernel. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: do section garbage collection also with modules enabledLucas Stach2014-12-171-2/+0
| | | | | | | | | | | | | | | | | | A lot of the arm build (especially PBL stuff) depends on section garbage collection to be enabled. If it is disabled a lot of targets fail to link properly. If module support is enabled garbage collection was disabled on the premise that we throw away too many function which may be needed in later modules. The proper way to keep the functions around for use in modules, which already works, is to annotate them with EXPORT_SYMBOL. As module support is still marked as experimental I think it's reasonable to expect users to make sure all symbols that are used by their modules are properly annotated. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* scripts: mk-am3xxx-spi-image: fix wrong assumptions about SPI imagesSascha Hauer2014-09-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | We assumed that there is a special image format for SPI. This is not the case. The AM33xx can boot either images generated with omap_signGP or raw images which only have the image size and load address in front of the image. Whether these images are booted from SPI or another boot medium doesn't matter. The only special thing about SPI is that the image is in big endian format. - renames mk-am3xxx-spi-image.c to mk-omap-image.c as the image format is not only supported by AM3xxx but also by the OMAP SoCs - removes the option to specify the SoC - introduces -s to build a big endian image - detects if an image already is an image generated with omap_signGP So the behaviour is like this: raw image -> mk-omap-image -> prepend size/address -> image for SD/MMC raw image -> mk-omap-image -s -> prepend size/address, big endian swap -> image for SPI CH image -> mk-omap-image -> nothing, input == output CH image -> mk-omap-image -s -> big endian swap -> image for SPI Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add Canon A1100 ROM image generationAntony Pavlov2014-08-011-0/+10
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add very initial support for Canon DIGIC chipsAntony Pavlov2014-07-291-0/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mvebu: convert to multiple board selectionSebastian Hesselbarth2014-06-241-6/+0
| | | | | | | | With all SoCs converted to DT based probing, select PBL_MULTI_IMAGES support and get rid of SoCs Kconfig choice to allow multiple boards to be selected. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
* Merge branch 'for-next/uemd'Sascha Hauer2014-06-041-0/+1
|\
| * ARM: initial support for RC Module UEMD SoCsAntony Pavlov2014-05-261-0/+1
| | | | | | | | | | | | | | | | This commit adds minimal support for the UEMD SoCs from RC Module (http://www.module.ru). Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: AM3xxx: Add support for building AM33xx spi imagesJan Luebbe2014-05-151-2/+5
|/ | | | | | | mk-am35xx-spi-image can only build AM35xx images. Rename the tool to mk-am3xxx-spi-image and add support for the AM33xx. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: add basic support for Rockchip SoCsBeniamino Galvani2014-04-291-0/+1
| | | | | | | | This patch adds a basic support for the ARM-based Rockchip SoCs of the RK3xxx family. Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: initial support for TI DaVinci SoCsAntony Pavlov2014-03-181-0/+1
| | | | | | | | This commit adds minimal support for the DaVinci DM365 SoCs from Texas Instruments. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6: sabresd: switch to multi-imageLucas Stach2014-02-191-1/+0
| | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53 karo-tx53: Switch to imximageSascha Hauer2014-02-141-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX35: freescale-mx35-3stack: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX35: eukrea-cpuimx35: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25: Eukrea cpuimx25: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53: TQ tqma53: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25: freescale-mx25-3stack: Switch to imx-imageSascha Hauer2014-02-141-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51: Eukrea cpuimx51: Switch to imx-imageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51 vincell: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51 karo-tx51: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX51 ccxmx51: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6 arm2: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX6 sabresd: Switch to imximageSascha Hauer2014-02-131-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX53 SMD: Switch to imximageSascha Hauer2014-02-131-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rename boards to more consistent namingSascha Hauer2014-02-031-1/+1
| | | | | | | | | | This renames the Freescale and Phytec board directories and defconfig files to a common naming scheme. The board directories are named <vendor>-<board> and the defconfig files are named <vendor>-<board>_defconfig. Also the DataModul realq7 is renamed to its Marketing Name eDM-QMX6. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/socfpga'Sascha Hauer2013-10-071-0/+1
|\ | | | | | | | | Conflicts: scripts/Makefile
| * ARM: Add Altera SoCFPGA supportSascha Hauer2013-09-231-0/+1
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | scripts/omap_signGP: add getoptSascha Hauer2013-09-271-2/+1
|/ | | | | | | Instead of using positional arguments add proper getopt support. This also adds a help text. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/omap'Sascha Hauer2013-09-051-1/+1
|\ | | | | | | | | Conflicts: arch/arm/boards/pcm051/env/config
| * ARM: OMAP: Pass TEXT_BASE address to mk-am35xx-spi-imageTeresa Gámez2013-08-071-1/+1
| | | | | | | | | | | | | | | | Pass the TEXT_BASE to the mk-am35xx-spi-image as the default address does not fit for AM33xx. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: mvebu: move Makefile entries back to arch/arm/MakefileSascha Hauer2013-08-161-0/+5
|/ | | | | | | | | The mvebu boards use the BOARD make variable for the kwbimage generation. This only exists in the old way, so move the mvebu board Makefile entries back to arch/arm/Makefile until they are converted to multiboard. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: AT91: Turn most board directories into regular build directoriesJean-Christophe PLAGNIOL-VILLARD2013-07-091-25/+0
| | | | | | | Just missing rm9200ek untill init switch to C struct Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: remove now unused ARCH_IMX_INTERNAL_BOOT_USE_IMXIMAGESascha Hauer2013-07-021-8/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>