summaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
Commit message (Collapse)AuthorAgeFilesLines
...
* | clk: at91: Port at91 DT clock codeAndrey Smirnov2017-03-301-0/+1
|/ | | | | | | | Port at91 DT clock code from Linux 4.9-rc3. Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/rpi'Sascha Hauer2017-03-131-17/+12
|\
| * ARM: rpi: switch to DT probe and multi-image buildLucas Stach2017-03-021-18/+12
| | | | | | | | | | | | | | | | This commit switches the RaspberryPi arch over to probe Barebox from the builtin DT and enables multi-image builds. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: always build relocatable imageLucas Stach2017-03-021-0/+1
| | | | | | | | | | | | | | | | Makes more space available for the malloc area and will allow to switch to multi-image later on. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/mvebu'Sascha Hauer2017-03-131-0/+1
|\ \
| * | mvebu: get initial position of register window from image headerUwe Kleine-König2017-03-021-0/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | A problem when using 2nd stage booting on mvebu is that the first bootloader already switched the register window location from 0xd0000000 to 0xf1000000 by writing to 0xd0000080. When the second bootloader also tries to do this switch it writes to the wrong location resulting in an exception and so a boot failure. For this reason the base address of the register window is passed in the barebox header and picked up from there by early code. In a further patch bootm is taught to put the actual position of the window there for the second bootloader to finally make second stage booting work. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* / scripts: imx/mxs remove mxs-usb-loaderOleksij Rempel2017-03-091-0/+1
|/ | | | | | | ... and use imx-usb-loader instead Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: Add PSCI supportSascha Hauer2017-02-131-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch contains the barebox implementation for the ARM "Power State Coordination Interface" (PSCI). The interface is aimed at the generalization of code in the following power management scenarios: * Core idle management. * Dynamic addition and removal of cores, and secondary core boot. * big.LITTLE migration. * System shutdown and reset. In practice, all that's currently implemented is a way to enable the secondary core one some SoCs. With PSCI the Kernel is either started in nonsecure or in Hypervisor mode and PSCI is used to apply power to the secondary cores. The start mode is passed in the global.bootm.secure_state variable. This enum can contain "secure" (Kernel is started in secure mode, means no PSCI), "nonsecure" (Kernel is started in nonsecure mode, PSCI available) or "hyp" (Kernel is started in hyp mode, meaning it can support virtualization). We currently only support putting the secure monitor code into SDRAM, which means we always steal some amount of memory from the Kernel. To keep things simple for now we simply keep the whole barebox binary in memory The PSCI support has been tested on i.MX7 only so far. The only supported operations are CPU_ON and CPU_OFF. The PSCI and secure monitor code is based on the corresponding U-Boot code. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm64: disable PBL supportLucas Stach2017-01-091-1/+0
| | | | | | | PBL is another feature, which needs some love to work on ARM64. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/mvebu'Sascha Hauer2016-10-101-0/+1
|\
| * ARM: mvebu: select HAVE_DEFAULT_ENVIRONMENT_NEWUwe Kleine-König2016-09-161-0/+1
| | | | | | | | | | | | | | | | None of the available boards for mvebu has any environment additions, so this is safe. 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/defenv'Sascha Hauer2016-10-101-1/+0
|\ \
| * | Make generic default environment type a use choiceSascha Hauer2016-10-101-1/+0
| |/ | | | | | | | | | | | | | | So far it was hardcoded for each board if defenv-1 or defenv-2 is used. Make this a user choice so that a particular board no longer enforces a defenv type. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm: semihosting support is not implemented for ARM64Lucas Stach2016-10-041-0/+1
| | | | | | | | | | | | | | Don't allow it to be selected in a ARM64 build. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | arm(64): move HAS_DMA and HAS_MODULES to CPU_32Lucas Stach2016-10-041-2/+0
|/ | | | | | | | We don't yet have an implementation for those two features on ARM64, so move them to a place where they are only selected for a 32bit barebox. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx'Sascha Hauer2016-07-111-0/+10
|\
| * ARM: boot: add prepend option for board specific ATAGsAlexander Kurz2016-06-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Board specific ATAGs might be passed to vendor provided kernels via the ARM_BOARD_APPEND_ATAG option. In this case, the board specific ATAGs will be appended to the end of the ATAG list. Anyway, some vendor provided kernels might crop the ATAG list at ATAG_MEM, also chopping off the board specific ATAGs, see linux squash_mem_tags() as reference. The Kindle-3 kernel is one example. This conflict might be solved by a) making ATAG_MEM optional which might break the existing behavour around squash_mem_tags() or b) by allowing the insertion of board specific ATAGs in front of ATAG_MEM which violates the requirement from Documentation/arm/Booting to order ATAGs by increasing address. Add option to insert board specific ATAGs in front of ATAG_MEM. 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/+5
| | | | | | | | | | | | | | 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>
* | arm64: add armv8 Kconfig entriesRaphael Poggi2016-07-061-0/+23
|/ | | | | Signed-off-by: Raphael Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: PXA: move HAVE_CLK selectLucas Stach2016-01-191-1/+0
| | | | | | | | | | | | Claiming that all of PXA has CLK implemented, while only PXA3XX selects the relevant clock implementations causes lots of build failures for the other PXA architectures. Fix it by moving the HAVE_CLK select to the one PXA arch, that actually has it. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: bcm283x: add rpi2 supportAlexander Aring2016-01-071-0/+5
| | | | | | | | This patch adds Raspberry Pi 2 support in barebox. The features should be the same like the current RPi status in barebox. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* bcm2835: introduce mach-bcm283xAlexander Aring2016-01-041-7/+11
| | | | | | | | | | | | 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>
* Merge branch 'for-next/mtd'Sascha Hauer2015-12-081-0/+1
|\
| * arm: pxa: Prepare for NAND clkdev lookup on PXA3xxSebastian Hesselbarth2015-11-231-0/+1
| | | | | | | | | | | | | | | | | | | | To allow PXA3xx nand driver to be reused on Marvell Armada 370/XP, prepare to provide a common clock for the NAND driver on PXA3xx. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: don't let the unwinder depend on exception handlingUwe Kleine-König2015-11-091-1/+0
|/ | | | | | | | | | To be able to use dump_stack() without support exception handling the definition of dump_stack has to move to a file that is actually compiled without ARM_EXCEPTIONS. Fixes: d332597c7c16 ("ARM: make exception handling optional") 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 Hauer2015-11-061-0/+5
|\
| * ARM: Allow compressed dtb binariesSascha Hauer2015-10-271-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current multi image build process the DTBs end up uncompressed in the PBL. This can be annoying because the PBL is often very size constrained. This patch allows to put the DTBs in as lzo compressed binary into the PBL. Since lzo offers quite good compression ratios for DTBs no other compression algorithm has been implemented for now. Boards which want to use the compressed DTBs only have to change the __dtb_ prefix in the DTB name to __dtb_z_. Also they should select ARM_USE_COMPRESSED_DTB to make sure barebox supports uncompressing the DTB. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: Add support for semihostingAndrey Smirnov2015-10-301-0/+9
|/ | | | | | | | | | Add semihosting API implementation and implement a filesystem driver to access debugging host filesystem using it. Tested on Freescale SabreSD board (i.MX6Q) using OpenOCD Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: socfpga: select OFTREE and OFDEVICELucas Stach2015-08-261-0/+2
| | | | | | | | | SoCFPGA is completely multi-image enabled and probes the barebox from a built-in DT, so there is no point in building a barebox image that isn't able to probe from DT. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: don't allow Thumb2 on AT91Lucas Stach2015-07-241-1/+1
| | | | | | | AT91 has a custom barebox head that doesn't support Thumb2. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rockchip: depend on OFTREELucas Stach2015-07-241-0/+1
| | | | | | | | | | | The current supported Rockchip board is initialized from a builtin DTB and I suppose all future boards will do the same. Fixes various missing functions and prototypes in Rockchip clk driver. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/rockchip'Sascha Hauer2015-03-091-0/+1
|\ | | | | | | | | Conflicts: arch/arm/Kconfig
| * ARM: Rockchip: Update KconfigAndrey Panov2015-03-051-0/+1
| | | | | | | | | | Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/arm'Sascha Hauer2015-03-091-0/+1
|\ \ | |/ |/|
| * ARM: Rockchip: Add DEBUG_LL based on mach-socfpgaAndrey Panov2015-02-131-0/+1
| | | | | | | | | | Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: Kconfig: remove stale option CPU_V7_DCACHE_SKIPLucas Stach2015-03-021-8/+0
|/ | | | | | | | | | | I stumbled across this option a few times already and always found it to be at least confusing when and why it should be enabled. Since commit b7451329b5d2 (ARM: OMAP3: invalidate L2 cache using ROM API) it is actually unused and only adds confusion. Better remove it. Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: MXS: Make gpio a driverSascha Hauer2015-01-281-0/+1
| | | | | | This turns the MXS gpio support into a driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* versatilepb: allow to compile it an arm1176Jean-Christophe PLAGNIOL-VILLARD2015-01-061-1/+0
| | | | | | | useful to use it for testing on qemu Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: bcm2835: add DEBUG_LL supportAntony Pavlov2015-01-051-0/+1
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: versatile: enable missed HAS_DEBUG_LLAntony Pavlov2015-01-051-0/+1
| | | | | | | | We already have arch/arm/mach-versatile/include/mach/debug_ll.h but HAS_DEBUG_LL is missed. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/randconfig-1'Sascha Hauer2014-12-081-0/+1
|\
| * ARM: rockchip: select PINCTRLSascha Hauer2014-11-281-0/+1
| | | | | | | | | | | | The Rockchip support needs pinctrl support, so select it in Kconfig. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: Don't allow Thumb2 on TegraSascha Hauer2014-11-271-0/+1
|/ | | | | | | Tegra builts its initial code for the v4 CPU which is not Thumb2 capable. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: fill BUILTIN_DTB_NAME for boards that still use this optionLucas Stach2014-11-241-0/+5
| | | | | | | | | There are only a few users of BUILTIN_DTB left, but those should alsways fill thr name properly. Avoids lots of failures in the randconfig builds. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: don't allow to select BUILTIN_DTB when building multiimageLucas Stach2014-11-241-0/+1
| | | | | | | | It doesn't make sense to allow building in a single DTB into a multiimage barebox, so we can spare the user this option. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: tegra: advertise PCI supportLucas Stach2014-10-081-0/+1
| | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pinctrl: fix Kconfig dependenciesSascha Hauer2014-09-151-0/+2
| | | | | | | | | | | | | | | | | - Remove OFDEVICE dependency from PINCTRL. It won't do much then, so add a comment to Kconfig when PINCTRL is selected without OFDEVICE - Let Architectures only select PINCTRL instead of the particular driver. Change the drivers to 'default y if $SOC' to make sure the drivers are still compiled if the corresponding SoC is selected This fixes Kconfig warnings like: warning: (PINCTRL_ARMADA_370 && PINCTRL_ARMADA_XP && PINCTRL_DOVE && PINCTRL_KIRKWOOD) selects PINCTRL which has unmet direct dependencies (OFDEVICE) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
* pinctrl: at91: add pinctrl driverRaphaël Poggi2014-09-041-0/+1
| | | | | | | | | This driver is based on mach-at91/gpio.c and linux pinctrl driver. The driver contains the gpio and pinctrl parts (like in linux) because the two parts share some structures and logics. Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/misc'Sascha Hauer2014-08-071-0/+2
|\ | | | | | | | | Conflicts: lib/Makefile
| * sandbox: allow "make ARCH=sandbox allyesconfig"Holger Schurig2014-07-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Compiling the tree with allyesconfig is helpful because different compilers (gcc, clang) or static checkers (e.g. clang's scan-build) can then process and check more code. This patch introduces two new configuration symbols that Kconfig files can depend on. That way, code that is only working where a cache or DMA implementation exists can be opted out. Signed-off-by: Holger Schurig <holgerschurig@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>