summaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* ARM: i.MX8MN: assume USBOTG power domains to be poweredAhmad Fatoum34 hours2-0/+6
| | | | | | | | | | | | | | | When i.MX8MN support was first added, upstream device tree did list no power domains. Now it does and we defer probe of USB indefinitely because we have no power domain driver. If we need to do PCI on the i.MX8MM in barebox, there'll likely be no way around importing the power domain driver, but for USB which used to work, only thing we need to do is ignore the new power domain specification. Do so by adding the new barebox,allow-dummy property to the new known-enabled power domain. Fixes: b01786baa849 ("dts: update to v5.18-rc1") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220808140035.1672733-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX8MM: assume USBOTG power domains to be poweredAhmad Fatoum34 hours1-0/+8
| | | | | | | | | | | | | | | When i.MX8MM support was first added, upstream device tree did list no power domains. Now it does and we defer probe of USB indefinitely because we have no power domain driver. If we need to do PCI on the i.MX8MM in barebox, there'll likely be no way around importing the power domain driver, but for USB which used to work, only thing we need to do is ignore the new power domain specification. Do so by adding the new barebox,allow-dummy property to the new known-enabled power domains. Fixes: 3f2f5980d517 ("dts: update to v5.16-rc1") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220808140035.1672733-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx/bbu-external-nand: Fix freeing image copyUwe Kleine-König2022-07-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | imx_bbu_external_nand_update() does: image = memdup(data->image, data->len); ... for (...) { ... image += now; ... } ... free(image) So it's not the original pointer that is passed to free. This results in a hang. Instead use an offset variable and keep image constant. Fixes: 93b564d9acc7 ("ARM: i.MX bbu-external-nand: Do not modify image") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.barebox.org/20220714081108.101094-2-u.kleine-koenig@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: imx/bbu-external-nand: Rename offset -> nand_offsetUwe Kleine-König2022-07-141-13/+13
| | | | | | | | | | The next commit introduces a new offset variable for image. To be better able to differentiate the two, pick a better name for the already existing one. There is no functional change. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.barebox.org/20220714081108.101094-1-u.kleine-koenig@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/rpi4'Sascha Hauer2022-06-2929-221/+672
|\
| * ARM: rpi: parse useful data from vc fdtDaniel Brát2022-06-271-41/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Videocore first-stage loader on rpi passes us many useful information inside the vc fdt, including the real value of PM_RSTS register, not easily available by other means and which we can use to determine the reset cause. Also make the relevant funtions just print error/warning and continue in case of some errors, since the fdt from vc is now optional for barebox's basic function. Signed-off-by: Daniel Brát <danek.brat@gmail.com> Link: https://lore.barebox.org/20220617215811.5687-1-danek.brat@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * i2c: add bcm283x i2c host controller supportDaniel Brát2022-06-172-2/+4
| | | | | | | | | | | | | | | | | | Add a driver to support the i2c host controller (BSC) found in Broadcom's bcm283x family of SoCs (used by rpi boards). Signed-off-by: Daniel Brát <danek.brat@gmail.com> Link: https://lore.barebox.org/20220615203909.27363-1-danek.brat@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: use correct kernel8.img as name for 64-bitAhmad Fatoum2022-06-171-1/+1
| | | | | | | | | | | | | | | | This ensures boot rpi does the right thing on the Raspberry Pi 4. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-22-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: add debug_ll support for Raspberry Pi 4Ahmad Fatoum2022-06-172-0/+21
| | | | | | | | | | | | | | | | | | | | | | The mini uart (Pins 8/10) is the primary UART on the Raspberry Pi 4 and can be set up in firmware by specifying enable_uart=1 in the config.txt. Add a DEBUG_LL implementation to use this for early debugging. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-20-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: add Raspberry Pi 4 supportAhmad Fatoum2022-06-177-0/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With basic driver support added in previous commits, add the boilerplate to have barebox-raspberry-pi.img usable as bootloader for the Raspberry Pi 4 in 64-Bit mode. Tested peripherals: - SD-Card - pinctrl - clocksource - mini-UART Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-19-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * clk: rpi: add Raspberry Pi 4 supportAhmad Fatoum2022-06-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Our Raspberry Pi clock driver is a hack, but it works well enough for older Rpis and just needs one more clock to support the SD-Card on the Raspberry Pi 4, so add that. In return, we remove bcm2835-cs, which we won't use on Raspberry Pi 4, because we'll leverage the ARM architected timer instead. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-16-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: rpi3: disallow MMU_EARLY && 64BITAhmad Fatoum2022-06-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Early MMU setup in 64-bit Raspberry Pi 3 barebox hangs, while normal setup concludes normally. Until this is figured out, disallow build of 64-Bit Raspberry Pi 3 support while CONFIG_MMU_EARLY=y. This issue doesn't affect the Raspberry Pi 4. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-15-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: add Raspberry Pi 3 64-bit build supportAhmad Fatoum2022-06-174-7/+22
| | | | | | | | | | | | | | | | | | | | | | Have the subarch select the needed symbols to display a 32-bit/64-bit menu and hide the boards that aren't capable of 64-bit when CONFIG_64BIT=y. Building for 64-bit throws some warning about mismatched type sizes, so fix those as well. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-14-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: cpu: remove unused SYS_SUPPORTS_32BIT_KERNELAhmad Fatoum2022-06-172-4/+1
| | | | | | | | | | | | | | | | | | This symbol only serves hiding CONFIG_32BIT and was so far not set anywhere, so just drop it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-13-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: cpu: remove unnecessary CONFIG_SYS_SUPPORTS_64BIT_KERNELAhmad Fatoum2022-06-175-9/+1
| | | | | | | | | | | | | | | | | | | | For ARM, SYS_SUPPORTS_64BIT_KERNEL is selected exclusively by symbols that also select CPU_SUPPORTS_64BIT_KERNEL, so we can drop SYS_SUPPORTS_64BIT_KERNEL safely. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: cpu: prevent recursive dependencies via CPU_SUPPORTS_64BIT_KERNELAhmad Fatoum2022-06-175-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | For ARM, CONFIG_CPU_SUPPORTS_64BIT_KERNEL's only function, along with CONFIG_SYS_SUPPORTS_64BIT_KERNEL is to control visibility of the 64BIT symbol. Select it from CPU_V8 is detrimental, because subarches may want to select CPU_SUPPORTS_64BIT_KERNEL unconditionally and select CPU_V8 only if 64BIT was chosen. This currently leads to a recursive dependency, so break this up. No functional change just yet. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-11-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: support FDT in x0 for 64bit configurationsAhmad Fatoum2022-06-171-11/+16
| | | | | | | | | | | | | | | | | | | | | | While the lowlevel Raspberry Pi entry code can now be compiled for 64-bit, it doesn't do the correct thing at runtime, because Linux boot convention places FDT into x0, not r2. Adjust the entry points accordingly. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-9-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: add generic Raspberry Pi imageAhmad Fatoum2022-06-172-2/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new image that can be booted on all supported boards. This work by including DTs for all enabled boards in config and then consulting the mailbox interface at runtime to deduce which DT to pass to barebox proper. An alternative would have been to use the existing barebox-dt-2nd.img with a VideoCore-supplied device tree, but that has the drawback of requiring barebox to observe the same bindings as the kernel that's booted later. This approach makes migration straight-forward, because no difference in VideoCore configuration is required. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-8-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: switch to ARM_USE_COMPRESSED_DTBAhmad Fatoum2022-06-172-8/+10
| | | | | | | | | | | | | | | | | | | | We'll add a generic image containing multiple DTs in a follow-up commit, which would benefit from compressing the DTs. For uniformity, compress the existing DTs as well to save some kilobytes there. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-7-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: split out mbox helpers to share code with PBLAhmad Fatoum2022-06-174-84/+103
| | | | | | | | | | | | | | | | | | We'll call some of these helpers from PBL in a later commit, so move these into a common location. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-6-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: support PBL use of mboxAhmad Fatoum2022-06-175-9/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | barebox uses DT to find out the base address of the mailbox. For the generic image, we need to use the mailbox interface to find out which DT to use. Resolve the chicken-egg problem by hardcoding a list of mailbox base addresses and selecting the correct one by looking up the CPU ID and using that to deduce the Raspberry Pi SoC type. Note that this is incompatible with arm_peri_high=1. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: rpi: move bcm2835_add_device_sdram() into headerAhmad Fatoum2022-06-174-54/+13
| | | | | | | | | | | | | | | | | | | | We will repurpose core.c in a later commit. It has a single function similar in spirit to bcm2835_register_fb which lives in a header, so move it there too. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM64: asm: implement read_cpuid_id()Ahmad Fatoum2022-06-171-2/+20
| | | | | | | | | | | | | | | | | | We'll need to use this function in code that will be compiled for both 32-bit and 64-bit ARM, so add the 64-bit implementation. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220609055922.667016-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * dma: avoid clash between static inline and extern dma_alloc declarationsAhmad Fatoum2022-06-175-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | dma_alloc/dma_sync/dma_free can be either either static inline definitions usually supplied per arch or extern definitions that can be either generic or supplied per arch. To avoid clashes, expect static inline definitions to define a preprocessor symbol for now. There is much duplication in the static inline helpers, which we can remove in future. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220614091556.1018102-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/rockchip'Sascha Hauer2022-06-2911-519/+172
|\ \
| * | arm: rockchip: radxa-rock3: enable deep probe supportMichael Riesch2022-06-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Enable deep probe support on the Radxa ROCK3 boards. Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.barebox.org/20220621083637.33660-1-michael.riesch@wolfvision.net Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | arm: rockchip: radxa-rock3: register barebox update handlerSascha Hauer2022-06-131-0/+4
| | | | | | | | | | | | | | | | | | Register a barebox update handler on the eMMC card. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ARM: rockchip_v8_defconfig: Enable realtek phySascha Hauer2022-06-101-0/+1
| | | | | | | | | | | | | | | | | | | | | The Rock3a board needs that for proper ethernet support, so enable it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | arm: rockchip: switch to mainline dts for rk3568-evb1Michael Riesch2022-06-092-519/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RK3568 EVB1 device tree in mainline Linux has matured since the initial RK3568 support entered barebox. Therefore, we can now switch to the mainline device tree. Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.barebox.org/20220608201747.3270318-1-michael.riesch@wolfvision.net Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | arm: rockchip: add support for the radxa rock3 boardMichael Riesch2022-06-089-0/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add basic support for the Radxa ROCK3 Model A board (featuring the Rockchip RK3568 SoC). Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.barebox.org/20220531162624.245664-4-michael.riesch@wolfvision.net Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/protonic'Sascha Hauer2022-06-291-54/+158
|\ \ \
| * | | ARM: boards: protonic-imx6: Register serial_number parameter with ocotpRobin van der Gracht2022-06-171-3/+36
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin van der Gracht <robin@protonic.nl> Link: https://lore.barebox.org/20220616131114.214628-10-robin@protonic.nl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: boards: protonic-imx6: Read serial and mac from fuses if availableRobin van der Gracht2022-06-171-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Read board serial number from GP1 fuses if available and fall-back to the i2c RFID eeprom (current method) otherwise. Signed-off-by: Robin van der Gracht <robin@protonic.nl> Link: https://lore.barebox.org/20220616131114.214628-9-robin@protonic.nl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: boards: protonic-imx6: Remove usb_delay from the priv structRobin van der Gracht2022-06-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's only used in one function right now. Signed-off-by: Robin van der Gracht <robin@protonic.nl> Link: https://lore.barebox.org/20220616131114.214628-8-robin@protonic.nl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: boards: protonic-imx6: Register prt-usb boot entryRobin van der Gracht2022-06-171-29/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The worker that polls for a bootable usb device and the first boot.default target are executed at the same time (after usb_delay seconds). Since inspecting the usb drive's contents takes some time it loses the race breaking usb boot. If we make the usb boot routine a boot entry and prepend it to boot.default it will always run first when the autoboot timeout expires. If the usb boot entry fails boot will just fallback to the next entry (i.e. bootchooser). Signed-off-by: Robin van der Gracht <robin@protonic.nl> Link: https://lore.barebox.org/20220616131114.214628-7-robin@protonic.nl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: boards: protonic-imx6: Remove unsused argument from prt_imx6_usb_mountRobin van der Gracht2022-06-171-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing this unused pointer pointer relieves the caller from freeing the memory afterwards. Signed-off-by: Robin van der Gracht <robin@protonic.nl> Link: https://lore.barebox.org/20220616131114.214628-6-robin@protonic.nl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: boards: protonic-imx6: Always free allocated alias stringRobin van der Gracht2022-06-171-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The memory required to store the string needs to be freed on success as well since it's no longer used. Signed-off-by: Robin van der Gracht <robin@protonic.nl> Link: https://lore.barebox.org/20220616131114.214628-5-robin@protonic.nl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: boards: protonic-imx6: Free allocated autoboot_timeout stringRobin van der Gracht2022-06-171-0/+1
| | |/ | |/| | | | | | | | | | | | | Signed-off-by: Robin van der Gracht <robin@protonic.nl> Link: https://lore.barebox.org/20220616131114.214628-4-robin@protonic.nl Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/omap'Sascha Hauer2022-06-2918-405/+290
|\ \ \
| * | | ARM: OMAP: Rework watchdog codeAlexander Shiyan2022-06-1412-118/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the omap_watchdog_disable() function, since the WDT core is the same for different OMAP variants, it can be used for all supported SOCs. Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220609091946.20028-1-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Move am33xx_sdram_size() into EMIF module and make it genericAlexander Shiyan2022-06-076-54/+58
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220603112540.51644-8-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Use EMIF4 registers for get SDRAM sizeAlexander Shiyan2022-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using the registers of the control module, we will use the EMIF registers in am335x_sdram_size(). This can help when porting this function to other CPU variants. Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220603112540.51644-7-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: emif: Rename am35xx_emif4 unitAlexander Shiyan2022-06-072-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EMIF can be used for other CPU variants. Let's rename it to be more generic. Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220603112540.51644-6-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: emif: Abstract am35xx_emif4 from any CPU-specific includesAlexander Shiyan2022-06-073-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220603112540.51644-5-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Move locally used definitions from emif4 header to am35xx_emif4Alexander Shiyan2022-06-072-53/+52
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220603112540.51644-4-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Adopt am35xx_emif4_init() to use fixed offset definitionsAlexander Shiyan2022-06-072-44/+20
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220603112540.51644-3-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Move EMIF4 definitions to appropriate headerAlexander Shiyan2022-06-074-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220603112540.51644-2-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: OMAP: Rearranging EMIF4 definitionsAlexander Shiyan2022-06-073-48/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we have three different definitions for EMIF management: - Offsets - Offsets relative to the base address - Offsets in the structure The patch represents the first attempt to unify this. Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220603112540.51644-1-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/misc'Sascha Hauer2022-06-2931-224/+376
|\ \ \ \
| * | | | read_file: Pass NULL for the size parameter if the return value is not usedAlexander Shiyan2022-06-103-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220609072629.15723-1-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>