summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* of: address: fix printing of OF node name in error messageUwe Kleine-König2022-06-071-2/+2
| | | | | | | | | | barebox has no %pOF. Open code this instance to yield a better error message. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220603072307.1578650-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: cpu: don't clobber sp when booted in HYP modeAhmad Fatoum2022-06-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | arm_cpu_lowlevel_init() is usually called first thing and will ensure barebox runs in SVC mode. If barebox is started in HYP mode instead, like is the case on Raspberry Pi 2-3, it will do an exception return into SVC mode, which will bank the previously used SP_Hyp and restore SP_Svc that may not have been properly initialized by barebox. This wasn't too bad so far, because arm_setup_stack was usually called after arm_cpu_lowlevel_init, but with ENTRY_FUNCTION_WITHSTACK, SP is initialized early on in the naked entry point with arm_cpu_lowlevel_init() being called after that. This can lead to spurious boot hangs in the Raspberry Pi 2 and 3 entry points. Fix this by always saving sp to r3 and restoring it, like we do with lr. This is safe to do, because r3 isn't clobbered by any instruction in arm_cpu_lowlevel_init() and because it's an argument register, callers have to expect it being overwritten by the callee. Fixes: b267578d0567 ("ARM: rpi: use ENTRY_FUNCTION_WITHSTACK to prepare for ARM64 support") Fixes: 41292192c01b ("ARM: safely switch from HYP to SVC mode if required") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220531082914.1654316-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* PBL: fdt: fix /memory parsing when #address-cells != #size-cellsAhmad Fatoum2022-05-311-1/+1
| | | | | | | | | | | Due to a typo, this code assumed so far ignored #size-cells and assumed it to be equal to #address-cells. This breaks using the barebox-dt-2nd.img with some 64-bit device trees like the Raspberry Pi's. Fixes: ffb0344b7410 ("ARM: Add generic device tree 2nd stage support") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220530074102.632341-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: rpi: reinstate support for multiple variants with same DTAhmad Fatoum2022-05-311-91/+19
| | | | | | | | | | | | | | Raspberry Pi support contains custom board code to allow the same DT to be used across different board model for a given Raspberry Pi generation. For this to work, barebox may not deduce the model specific init from the device tree compatible, but instead detect it automatically. This was broken in the commit changing the board code to the driver model, so reinstate it. Fixes: c062cd5cf47d ("ARM: rpi: validate devicetree compatible instead of changing model name") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220530162016.1052586-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* power: reset: reboot-mode: Fix resetting to normal modeSascha Hauer2022-05-251-2/+6
| | | | | | | | | | | | | | | | | To clear the reboot mode for next reboot during registration of a reboot mode driver we call reboot->write() with a zero initialized u32 array with a single entry. This is wrong for two reasons. First the array is too short, for i.MX6 we need to entries. Then it is assumed that the magic to write to the register is '0' for normal boot, but it could be an arbitrary value. To fix this pick the index of the normal boot entry and pass the corresponding magic values to reboot->write(). While at it only do this when a normal boot entry actually exists. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Link: https://lore.barebox.org/20220310211207.3949118-1-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: imx: mmdc_size: Increase row_max for imx8mTeresa Remmet2022-05-241-1/+1
| | | | | | | | | | | | | | | As DDRC_ADDRMAP7_ROW_B16 and DDRC_ADDRMAP7_ROW_B17 are used now for the row size calculation we need to increase row_max to 18. For LPDDR4 this only works in combination with ram timings created with recent configuration spreadsheet versions. With older versions the register DDRC_ADDRMAP7 may not be set and calculation will lead to wrong results even with this patch. Fixes: dad2b5636bd8 ("ARM: imx: Add imx8 support for 18 bit SDRAM row size handle") Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Link: https://lore.barebox.org/20220520142337.993417-1-t.remmet@phytec.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* tlsf: fix internal overflow trying to allocate big buffersAhmad Fatoum2022-05-241-3/+16
| | | | | | | | | | | | | | | | The function adjust_request_size() has an unhandled failure mode: If aligning a buffer up overflows SIZE_MAX, it will compute a way to short buffer instead of propagating an error. Fix this by returning 0 in this case and checking for 0 whereever the function is called. 0 is a safe choice for an error code, because the function returns at least block_size_min on success and 0 was already an error code (that was just never handled). Reported-by: Jonas Martin <j.martin@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220523062756.774153-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* test: self: add basic testing for malloc()Ahmad Fatoum2022-05-243-0/+97
| | | | | | | | | | | | | | | Surprisingly, the TLSF allocator is prone to overflow. Add some tests that trigger this behavior. These tests run to success with dlmalloc, but some of them fail under tlsf when compiled for 32-bit: test_malloc:40: unexpectedly succeeded to malloc(SIZE_MAX) test_malloc:61: unexpectedly succeeded to (tmp = realloc(p, 0xf0000000)) test_malloc:63: unexpectedly succeeded to tmp = realloc(p, SIZE_MAX) ERROR: malloc: failed 3 out of 12 tests Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220523062756.774153-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: user: usb: fix literal block :: when : is intendedAhmad Fatoum2022-05-231-1/+1
| | | | | | | | | | | The line is followed by a list, not an indented literal block, so just a single colon should be used. This fixes following warning: WARNING: Literal block expected; none found. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220520111429.2716691-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Documentation: boards: stm32mp: document USB bootstrap via DFUAhmad Fatoum2022-05-231-0/+30
| | | | | | | | | | TF-A v2.6 now supports DFU for USB bootstrap on the STM32MP1. This is normally exercised by the STM32CubeProgrammer, but is easily usable with just dfu-util as well. Document how to. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220520111429.2716691-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clk: fix clk_round_rate command descriptionDenis Orlov2022-05-201-2/+2
| | | | | | Signed-off-by: Denis Orlov <denorl2009@gmail.com> Link: https://lore.barebox.org/20220520065519.28173-1-denorl2009@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/stm32'Sascha Hauer2022-05-194-5/+181
|\
| * ARM: dts: stm32mp151-prtt1c: add DSA switch and MDIO nodesOleksij Rempel2022-05-111-4/+120
| | | | | | | | | | | | | | | | | | For netboot support we need to configure switch and PHYs. So, provide needed nodes. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220510121447.216507-2-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * ARM: boards: protonic-stm32mp1: enable deep-probe supportOleksij Rempel2022-05-111-0/+2
| | | | | | | | | | | | | | | | | | We are on early development stage, so enable deep-probe support as early as possible to detect and fix possible regressions. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220510121447.216507-1-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * phy: stm32-usphyc: Add dummy driver for child nodeOleksij Rempel2022-05-111-1/+8
| | | | | | | | | | | | | | | | To satisfy deep probe mechanism Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220510121242.216065-2-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * usb: dwc2: add support st,stm32mp15-fs/hsotg devicesOleksij Rempel2022-05-111-0/+51
| | | | | | | | | | | | | | | | | | Port chip specific configuration for stm32mp15x SoC from kernel v5.18-rc4. This patch is needed to fix USB host support on OTG port. Tested on stm32mp151. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220510121242.216065-1-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/rsa'Sascha Hauer2022-05-196-142/+221
|\ \
| * | fit: try other keys as fallbackSascha Hauer2022-05-041-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | So far the rsa key and the image signature must have a matching key-name-hint. Relax that by trying other available keys when the key-name-hints don't match or when the matching key can't verify the signature. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | rsa: Turn error messages into debug messagesSascha Hauer2022-05-041-4/+4
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | rsa: Add pr_fmt and use pr_debugSascha Hauer2022-05-041-11/+12
| | | | | | | | | | | | | | | | | | Add pr_fmt to print more context and use pr_debug consistently. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | rsa: Add iterator for rsa keysSascha Hauer2022-05-042-0/+13
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | rsa: Collect keys on listSascha Hauer2022-05-043-39/+86
| | | | | | | | | | | | | | | | | | | | | | | | Currently there is no way to iterate over all available RSA keys. This patch collects all keys on a list so we can add an iterator in the next step. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | crypto: simplify $(srctree)/ handling and remove config_filename macroSascha Hauer2022-05-042-52/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | The config_filename macro has been dropped from mainline in b8c96a6b466c ("certs: simplify $(srctree)/ handling and remove config_filename macro"). Adopt the mechanism it has been replaced with for barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | rsatoc: Add option to print dts outputSascha Hauer2022-05-041-25/+78
| | | | | | | | | | | | | | | | | | Add -d option to generate output in dts format rather than C. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | rsatoc: fix compiler warningsSascha Hauer2022-05-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: scripts/rsatoc.c:189:5: warning: no previous prototype for ‘rsa_get_params’ [-Wmissing-prototypes] Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | Merge branch 'for-next/rpi'Sascha Hauer2022-05-195-4/+12
|\ \ \
| * | | ARM: configs: rpi: add and document single barebox-dt-2nd bootloaderAhmad Fatoum2022-04-252-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With recent rework, we can install barebox along with all supported Raspberry Pi device trees to the boot partition and let the VideoCore take core of passing the correct device tree to barebox. Enable the relevant option in config and document this briefly. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220425062849.17954-5-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: rpi: remove outdated comment after stack setup reworkAhmad Fatoum2022-04-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stack is now set up with ENTRY_FUNCTION_WITH_STACK, so board code need not concern itself with what is allowed in C code and what isn't before stack is setup. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220425062849.17954-4-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: rpi: don't warn about lack of videocore fdtAhmad Fatoum2022-04-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When barebox is booted as generic second stage DT image, it will throw an annoying but harmless error that the videocore FDT saved in PBL has invalid magic. This is expected because the generic code doesn't store the device tree, instead it passes it to barebox proper to probe from. Storing the DT in /vd.dtb would thus just be duplication. Remove the error message in this case. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220425062849.17954-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | ARM: cpu: board-dt-2nd: call arm_cpu_lowlevel_initAhmad Fatoum2022-04-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generic DT image could be started by boot firmware that doesn't do all the initialization that we do in arm_cpu_lowlevel_init(), so call it always for good measure. This enables using the generic image as second stage to the Raspberry Pi videocore. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220425062849.17954-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/of-board'Sascha Hauer2022-05-196-60/+114
|\ \ \ \
| * | | | ARM: boards: protonic-imx6: add HW revision specific machine compatibleOleksij Rempel2022-05-051-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we use generic/pinned machine compatible for different HW revisions. With this patch we extend this compatible string with HW revision specific. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220503091220.3871612-6-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: boards: skov-imx6: make use of of_prepend_machine_compatible()Oleksij Rempel2022-05-051-37/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace board specific fixup_machine_compatible() with generic of_prepend_machine_compatible() Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220503091220.3871612-5-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | of: add generic of_prepend_machine_compatible()Oleksij Rempel2022-05-054-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add generic function to extend/fixup machine compatible. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220503091220.3871612-4-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: boards: protonic-imx6: make use of barebox_set_serial_number()Oleksij Rempel2022-05-051-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace board specific serial-number fixup with common barebox_set_serial_number(). Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220503091220.3871612-3-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | common: add $global.serial_number with device tree fixupAhmad Fatoum2022-05-053-0/+24
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new variable can be set by boards from C code or from the environment to change the serial number fixed up into the kernel device tree. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Link: https://lore.barebox.org/20220503091220.3871612-2-o.rempel@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | | | Merge branch 'for-next/misc'Sascha Hauer2022-05-1940-190/+1386
|\ \ \ \
| * | | | i2c: rockchip: fix transfer return valueAhmad Fatoum2022-05-111-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | barebox (and kernel) API is for i2c_adapter::master_xfer to return the number of successfully transmitted messages and a negative value on error. This was not observed in the Rockchip driver, fix this. Reported-by: Matthias Fend <matthias.fend@emfend.at> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220510153657.2033190-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | i2c: add Cadence i2c host controller supportMatthias Fend2022-05-113-0/+462
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a driver to support the Cadence I2C host controller found in Zynq UltraScale+ MPSoCs. Signed-off-by: Matthias Fend <matthias.fend@emfend.at> Link: https://lore.barebox.org/20220510130414.344586-1-matthias.fend@emfend.at Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | usb: dwc3: align dwc3 clocks with bindingMichael Riesch2022-05-114-72/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The device tree bindings snps,dwc3.yaml and rockchip,dwc3.yaml specify different clock names. This inconsistency did not matter in the past as the snps,dwc3 used to be a subnode of the rockchip,rk3xyz-dwc3 glue node. For the RK356x, however, a different approach is used and the two nodes are merged. Therefore, the dwc3 driver must accept both groups of clock names. This step is a prerequisite for replacing the initial rk3568.dtsi in arch/arm/dts with the mainline Linux version. For compatibility, the former is updated accordingly. This also illustrates the migration from glue node and subnode to a single device tree node. Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.barebox.org/20220509113618.1602657-3-michael.riesch@wolfvision.net Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | phy: rockchip: align naneng-combphy clocks and resets with bindingMichael Riesch2022-05-112-21/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was no device tree binding in mainline Linux when this driver was introduced in barebox. This has changed in the mean time, hence we need to align the clocks and resets in this driver. This step is a prerequisite for replacing the initial rk3568.dtsi in arch/arm/dts with the mainline Linux version. For compatibility, the former is updated accordingly. Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.barebox.org/20220509113618.1602657-2-michael.riesch@wolfvision.net Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ARM: omap: Cleanup omap4_revisionAlexander Shiyan2022-05-051-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up the omap4 revision function by removing exceeding break statements. Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com> Link: https://lore.barebox.org/20220505065206.10816-1-eagle.alexander923@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | | | ata: disk_ata_drive: clean up code in ata_dump_id()Denis Orlov2022-04-292-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing macros and fix misspellings. Signed-off-by: Denis Orlov <denorl2009@gmail.com> Link: https://lore.barebox.org/20220426123434.18865-1-denorl2009@gmail.com Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>