summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/state'Sascha Hauer2015-06-091-0/+1
|\
| * arm/crypto: add generated sha256-core.S to gitignoreMarc Kleine-Budde2015-05-261-0/+1
| | | | | | | | | | Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/spi-nor'Sascha Hauer2015-06-097-2/+137
|\ \
| * | ARM: socfpga: xload: support qspi bootsourceSteffen Trumtrar2015-05-293-2/+63
| | | | | | | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: sockit: add qspi flashSteffen Trumtrar2015-05-291-0/+20
| | | | | | | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: socrates: add qspi flashSteffen Trumtrar2015-05-291-0/+20
| | | | | | | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: socfpga: socdk add qspi flashSteffen Trumtrar2015-05-291-0/+20
| | | | | | | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: dts: socfpga: add qspi nodeSteffen Trumtrar2015-05-291-0/+14
| | | | | | | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/socfpga'Sascha Hauer2015-06-092-234/+61
|\ \ \
| * | | ARM: socfpga: update sdram calibration to 15.0Steffen Trumtrar2015-05-152-234/+61
| |/ / | | | | | | | | | | | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/posix_types'Sascha Hauer2015-06-0927-894/+42
|\ \ \
| * | | PPC: asm/bitops.h: drop unused ext2* and minix* stuffAntony Pavlov2015-06-041-63/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | nios2: use generic posix_types.hSascha Hauer2015-06-031-77/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | efi: use generic posix_types.hSascha Hauer2015-06-031-93/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | sandbox: use generic posix_types.hSascha Hauer2015-06-031-93/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ppc: use generic posix_types.hSascha Hauer2015-06-031-108/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | mips: use generic posix_types.hSascha Hauer2015-06-031-129/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | openrisc: use generic posix_types.hSascha Hauer2015-06-031-71/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | x86: use generic posix_types.hSascha Hauer2015-06-031-44/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | blackfin: use generic posix_types.hSascha Hauer2015-06-031-85/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: use generic posix_types.hSascha Hauer2015-06-031-78/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use generic asm-generic/posix_types.h instead of repeating the typedefs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | introduce bitsperlong.h for remaining architecturesSascha Hauer2015-06-0313-11/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces the bitsperlong.h file for the remaining architectures. It's purpose is to define BITS_PER_LONG which in the next step can be used by a generic posix_types.h file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | drop __BITS_PER_LONGSascha Hauer2015-05-221-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The kernel has __BITS_PER_LONG and BITS_PER_LONG. The formaer is needed for architectures which support 32bit userspace on a 64bit kernel. This is not relevant for barebox, so drop __BITS_PER_LONG and use BITS_PER_LONG only. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | dma: Use generic place for dma_addr_t typedefSascha Hauer2015-05-229-39/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Instead of letting all architectures define their own dma_addr_t use a common place in include/linux/types.h and use a Kconfig symbol that architectures can select to define the width of dma_addr_t. The same is done in the Kernel. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/misc'Sascha Hauer2015-06-093-5/+5
|\ \ \
| * | | MIPS: asm/debug_ll_ns16550.h: use plain inline instead of __inline__Antony Pavlov2015-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Abolish cpu_read* and cpu_write* accessorsMasahiro Yamada2015-05-202-4/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 2e6a88f2101d (add cpu native ordered io accessors) introduced these macros and then commit be57f20cdd7d (Fix big endian MMIO primitives) figured out they are equivalent to __raw_{read,write}*. They turned out unnecessary after all. Anyway, most source files use __raw_read* and __raw_write*. Let's replace a few remaining references and abolish them. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/mips'Sascha Hauer2015-06-095-15/+29
|\ \ \
| * | | update dlink-dir-320_defconfigAntony Pavlov2015-05-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Just 'make defconfig && mv defconfig arch/mips/configs/dlink-dir-320_defconfig'. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: bcm47xx: use PUTC_LL() from common debug_ll_ns16550.h headerAntony Pavlov2015-05-131-9/+5
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: img-ci20_defconfig: enable network stuffAntony Pavlov2015-05-121-4/+7
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | MIPS: img-ci20: enable dm9000 ethernet controllerAntony Pavlov2015-05-122-0/+16
| |/ / | | | | | | | | | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/imx'Sascha Hauer2015-06-0924-248/+426
|\ \ \
| * | | imx6: lowlevel_init: Fix workaround for new i.MX6s chipsMarkus Pargmann2015-05-111-23/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This errata workaround was introduced for i.MX6Q, i.MX6D and i.MX6SL. Old revisions of i.MX6s chips had no problems with the PFD resets. In a newer i.MX6s revision I had issues with this code when booting in internal boot mode from NAND or in serial downloader mode. FUSE mode worked fine although it jumped directly to serial downloader mode. This patch executes the PFD workaround only for i.MX6Q and i.MX6D which fixes the issues I saw. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | i.MX: Add provisions to boot from IRAMAndrey Smirnov2015-05-0710-58/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit add a very basic code to allow Barebox to be booted from IRAM. Given that the amount of IRAM on most i.MX variants is insufficient to contain a copy of Barebox with any reasonable degree of functionality this code uses IRAM only as a temporary location and eventually bootstraps from DRAM. But the presense of the intermediate IRAM-only stage allows to add provisions to test the area of DRAM that Barebox would be using to facilitate various testing scenarious. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | Makefile.lib: Make 'check_file_size' more flexibleAndrey Smirnov2015-05-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make 'check_file_size' more flexible by not hardcoding the file whose size is going to be checked to '$@'. This way it is possible to use this subroutine to check the size of files other than the target of the rule. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | i.MX: serial: Distil common clock ungating codeAndrey Smirnov2015-05-077-50/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move all of the common clock ungating code in early UART initialization into a dedicated subroutine that can be shared by all of the users. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | i.MX51: babbage: Implement CONFIG_DEBUG_LLAndrey Smirnov2015-05-072-2/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement bits of configuraion needed to configure early debug output support. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | i.MX: serial: Convert i.MX51 and i.MX6 to use 'imx*_uart_setup_ll'Andrey Smirnov2015-05-079-106/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: Boards 'karo-tx25' and 'tqma53' can benefit from this refactoring as well, but they were not converted because of the lack of i.MX25 or i.MX53 based hardware to test on. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | i.MX: serial: Convert PUTC_LL to use IOMEMAndrey Smirnov2015-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert PUTC_LL to use IOMEM instead of explicit casting to 'void *', since the former seem to be more appropriate to the situation. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | i.MX: serial: Add UART init functions for DEBUG_LLAndrey Smirnov2015-05-071-2/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It appears that all i.MX51 and i.MX6 based boards that support early debug output inevitably do exactly the same thing with the registers of the UART peripheral. So to avoid code duplication three new subroutines are introduced: - imx_uart_setup_ll() that allows user to perform aforementioned "same thing" on any arbitrary UART at 'uartbase' and clocked at 'refclock' Hz. - imx6_uart_setup_ll() and imx5_uart_setup_ll() that do those actions assuming UART to be the one specified in configuration and 'refclock' to be equal to what it is when SoC comes out of reset. NOTE: Please note that 'imx*_uart_setup_ll' functions do add a slight difference in behaviour by dropping the initialization of ONEMS and UESC registers since those do not seem to be needed for early UART functionality Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | i.MX: Move UART definitions into a separate fileAndrey Smirnov2015-05-071-8/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Move UART definitions into a separate file to avoid redefinition in <mach/debug_ll.h> and magical constants in low level UART initialization code. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/am33xx'Sascha Hauer2015-06-097-0/+114
|\ \ \
| * | | ARM: am33xx: Add network bootWadim Egorov2015-06-053-0/+63
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: Add am33xx-strip.dtsi to PHYTEC MLOsWadim Egorov2015-05-273-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will reduce the size of the MLO images. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: Add an am33xx include file for MLO size reductionWadim Egorov2015-05-271-0/+48
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AM335x's MLO size limit is 109K. The am33xx.dtsi file adds spare and never used nodes to the dtb. With this patch we add a file to remove the unused nodes and reduce the size of the dtb. Including this file will reduce the lzo packed MLO size about 6K. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM: imx6: hipercam: set default hostname in boardfileLucas Stach2015-06-031-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | ARM: imx6: correct Hipercam ECSPI1 pinmuxLucas Stach2015-06-031-2/+2
|/ / | | | | | | | | | | | | | | | | Correct the pinmux configuration for the chip-select GPIOs. This fixes detection of the first SPI NOR-flash after barebox itself got loaded from there. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / ARM: am33xx: Fix SCRM compatible string to match new DT compatible stringWadim Egorov2015-05-151-1/+1
|/ | | | | | | | | | Commit 461f8cfc7ea788428240271818363333ceff5c4c renamed the SCRM compatible string in am33xx.dtsi and breaks all am335x based boards. Rename the SCRM compatible string. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX5: Add missing CONFIG_ prefix in testSascha Hauer2015-05-071-1/+1
| | | | | | | | The variable name misses a CONFIG_ prefix to work as expected. Fixes: 05a1e4b ARM: i.MX5: Do not register fixed clocks twice Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>