summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | mfd: mc13892: MC13892_POWER_MISC bits revisionAlexander Shiyan2019-01-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch revises the bits for register MC13892_POWER_MISC. - Added definition for one missing bit (0). - Changed the name for bit 21 for accordance with the datasheet. - Updated affected board that uses these definitions. - Replaced spaces with tabs for the remaining bits. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: i.MX: remove efika-mx-smartbook_defconfigSascha Hauer2018-12-141-106/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The smartbook is covered by imx_v7_defconfig, no need for a separate config. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: rdu2: add command to reset network switchLucas Stach2018-12-132-1/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This command allows to reset the network switch on the DEB, clearing any DSA configuration, which may still be present from a prior boot. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | phycard-imx27: add support for 64MB RAM variantsBaeuerle, Florian2018-12-101-11/+41
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Some older pca100 boards were available with 64MB RAM. The chips require a slightly different sdram controller initialization. Support this by building bootloader images for both variants. Signed-off-by: Florian Bäuerle <florian.baeuerle@allegion.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/am35xx'Sascha Hauer2019-01-1530-242/+1383
|\ \ \
| * | | arm: boards: phytec-som-am335x: Add bootchooser to bootsourceDaniel Schultz2019-01-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add bootchooser as primary boot source for NAND and eMMC. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: am335x-phytec-state: Add state partition for bootchooserDaniel Schultz2019-01-081-2/+55
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: dts: am335x-phytec-state: Reduce partition sizeDaniel Schultz2019-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partition size was not calculated correct. Set the correct size. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: configs: omap_defconfig: Add bootchooserDaniel Schultz2019-01-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap: am33xx_defconfig: Enable more boards and renameSascha Hauer2019-01-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable more boards in am33xx_defconfig. Since this now also supports omap3 and am35xx boards rename it to omap_defconfig. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap: Add board support for WAGO pfc200 platformSascha Hauer2019-01-0710-0/+950
| | | | | | | | | | | | | | | | | | | | | | | | This adds support for the AM3517 based WAGO pfc200 SPS. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap: AM3517: Change default clock rate for AM3517Heinrich Toews2018-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an adoption of U-Boot commit: | commit c8e5ba8034ad2a961782a092498f6ea71237c63f | Author: Schuyler Patton <spatton@ti.com> | Date: Wed Feb 1 07:31:44 2012 +0000 | | AM3517: Changed default clock rate for AM3517 | | Changed #define MPU_M_13_ES2 from 0x1F4 to 0x258, this allows | the AM3517 to boot up at 600MHz instead of 500 MHz | | Signed-off-by: Schuyler Patton <spatton@ti.com> | CC: Tom Rini <tom.rini@gmail.com> | CC: Simon Schwarz <simonschwarzcor@gmail.com> | CC: Stefano Babic <sbabic@denx.de> Signed-off-by: Heinrich Toews <heinrich.toews@wago.com>
| * | | ARM: omap: Add emif4 support for AM3517Sascha Hauer2018-12-203-1/+191
| | | | | | | | | | | | | | | | | | | | | | | | This adds support for the SDRAM controller found on AM3517. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap: Add AM3517 specific mux configurationSascha Hauer2018-12-201-1/+48
| | | | | | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap3: Add support for reset reason detectionOleg Karfich2018-12-201-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to the Errata i520, the reset code in the linux kernel aswell in barebox triggers a cpu reset by setting the bit RST_DPLL3 in the PRM_RSTCTRL register. This induces a global cold reset on the chip. So we will always detect a POR as reset source when a reboot of the chip is triggerd. Other states like WDG, JTAG were tested successfully. Signed-off-by: Oleg Karfich <oleg.karfich@wago.com>
| * | | ARM: omap: enable am33xx_uart_soft_reset for AM35xxSascha Hauer2018-12-204-28/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | am33xx_uart_soft_reset() can be used on AM35xx aswell, so move it to a more generic place where it can be added to am35xx compilation. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap: Add AM35XX supportSascha Hauer2018-12-205-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | Not much to be done here. The AM35xx is very similar to OMAP3. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap: 32ktimer: Turn into a driverSascha Hauer2018-12-205-94/+10
| | | | | | | | | | | | | | | | | | | | | | | | Turn OMAP 32KHz timer into a driver and move to drivers/clocksource. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap: dmtimer: Turn into a driverSascha Hauer2018-12-204-104/+5
| | | | | | | | | | | | | | | | | | | | | | | | Turn OMAP dmtimer into a driver and move to drivers/clocksource. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arm: dts: am335x strip: Don't strip timer2 anymoreTeresa Remmet2018-12-202-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dmtimer has been converted to a real driver and needs a device now. am335x devices are taken from dt also in mlo. Don't strip the dmtimer device from the include as we need it now. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | arm: boards: vscom-baltos: Run environment_initcall only on correct boardTeresa Remmet2018-12-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for the correct hardware before reading the eeprom. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: omap: Add missing includeSascha Hauer2018-12-201-0/+1
| |/ / | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | / imx6ul-phytec-phycore-som: don't use fsl, no-blockmark-swap for the NANDUwe Kleine-König2019-01-111-1/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | barebox doesn't honor that property which yields to inconsitencies between Linux and barebox after for example filling an UBI with a file system with barebox and then trying to mount that from Linux. Note this is an interruptive change as it requires to rewrite the flash to make it working with Linux again. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM: fix setup_c when runtime offset is != 0Sascha Hauer2018-12-141-4/+4
|/ | | | | | | | | | | | | | | | | The runtime offset has to be added to the memcpy source address and substracted from the return address. This should have been changed in a43e2bbc46 which changed from returning the negative runtime offset into changing the positive runtime offset. Instead a43e2bbc46 only changed a zero substraction ("subs r4, r0, #0") into a zero addition ("adds r4, r0, #0") which was used as a equal to zero test and changed nothing. This part is reverted here. Fixes wrong copy / return locations when setup_c is called with different runtime and link addresses. fixes: a43e2bbc46 ("ARM: return positive offset in get_runtime_offset()") Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/socfpga'Sascha Hauer2018-12-0721-88/+109
|\
| * ARM: socfpga: generate smaller images when multiple boards are selectedSascha Hauer2018-11-1918-87/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The socfpga xload images are limited to 64KiB. This doesn't fit if multiple boards are selected. The reason is that we include huge C files and arrays in the early init code which get compiled once for each board. -ffunction-sections is without effect here since all functions have the same name and hence we get the same function multiple times in the same section. To overcome this we surround all function names with a SECT() macro which is used to add a board specific prefix to the section names. This way -ffunction-sections can now do its work and discard unused functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: socfpga: update defconfigSteffen Trumtrar2018-11-191-1/+9
| | | | | | | | | | | | | | Select some more common drivers in the defconfig. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: socfpga: select GPIOLIB for non-xloadSteffen Trumtrar2018-11-191-0/+1
| | | | | | | | | | | | | | | | SoCFPGA has GPIOs. Select it for the normal bootloader. For the xload barebox, do not select it to not waste space. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: socfpga: achilles: enable watchdog1Enrico Jorns2018-11-191-0/+4
| | | | | | | | | | | | | | This one is required for guarding the boot procedure Signed-off-by: Enrico Jorns <ejo@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/missing-prototypes'Sascha Hauer2018-12-0724-15/+57
|\ \
| * | ARM64: backtrace: fix missing prototypesLucas Stach2018-12-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Include header for unwind_backtrace prototype and mark dump_backtrace_entry as static. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: add prototype for mmu_early_disableLucas Stach2018-12-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is only provided by aarch64 for now and not actually used, but raher than deleting this potentially useful chunk of code, just provide the prototype to shut up the warning. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: interrupts64: add missing prototypesLucas Stach2018-12-031-0/+10
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: ptrace: add mssing show_regs prototype in aarch64 pathLucas Stach2018-12-031-0/+2
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: nxp-imx8mq-evk: add missing prototype for nxp_imx8mq_evk_ddr_cfg_phyLucas Stach2018-12-031-0/+1
| | | | | | | | | | | | | | | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: mmu64: include dma.hLucas Stach2018-12-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | dma.h provides the prototypes for the different dma_alloc_* functions, so we should include it to make sure the prototypes are consistent. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | Make: Add -Wmissing-prototypesSascha Hauer2018-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Wmissing-prototypes is a useful warning, so add it to the build. With this we can detect conflicting function prototypes. When a file implements a function but doesn't include the header file which provides the prototype for it then conflicting prototypes would go unnoticed without this warning. MIPS already had that warning, so we can remove it from the MIPS Makefile. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: omap: Add missing includesSascha Hauer2018-11-194-0/+4
| | | | | | | | | | | | | | | | | | | | | Include header files that provide the prototypes for functions implemented in that C files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: samsung: Add missing includeSascha Hauer2018-11-191-0/+2
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: samsung: provide prototype for nand_boot()Sascha Hauer2018-11-191-0/+2
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: samsung: make locally used function staticSascha Hauer2018-11-191-1/+1
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: samsung: remove unused functionSascha Hauer2018-11-191-9/+0
| | | | | | | | | | | | | | | | | | s3c24_get_uclk() is unused, remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: start: Add missing prototypeSascha Hauer2018-11-191-0/+2
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX6 usb: Add missing includeSascha Hauer2018-11-121-1/+1
| | | | | | | | | | | | | | | | | | | | | include header file providing the protype for functions that usb-imx6.c implements. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX: add missing includeSascha Hauer2018-11-121-0/+1
| | | | | | | | | | | | | | | | | | | | | mach/imx-nand.h provides the prototype for imx_nand_set_layout() which this file implements, so include the header file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX27: Add missing prototype for imx27_get_boot_source()Sascha Hauer2018-11-121-0/+1
| | | | | | | | | | | | | | | | | | imx27_get_boot_source() is exported, so add a prototype for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: i.MX50: Make locally used function staticSascha Hauer2018-11-121-1/+1
| | | | | | | | | | | | | | | | | | imx50_init_lowlevel_early() is only used locally, so make it static. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: Add missing prototype for arm_mem_ramoops_get()Sascha Hauer2018-11-121-0/+2
| | | | | | | | | | | | | | | | | | To avoid missing prototype warning. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: start: Add missing prototypeSascha Hauer2018-11-121-0/+2
| | | | | | | | | | | | | | | | | | | | | start() has no prototype, add it. Since it is not called from anywhere in the barebox binary just add the prototype to the C file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: start: Add missing includeSascha Hauer2018-11-122-0/+4
| | | | | | | | | | | | | | | | | | entry.h provides prototypes for some functions, so include it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>