summaryrefslogtreecommitdiffstats
path: root/common/boards
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'for-next/spdx'Sascha Hauer2022-01-191-0/+2
|\
| * treewide: add SPDX-License-Identifier for files without explicit licenseAhmad Fatoum2022-01-051-0/+2
| | | | | | | | | | | | | | | | | | Record GPL-2.0-only as license for all files lacking an explicit license statement. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220103120539.1730644-12-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | common: boards: qemu-virt: fix dtc warningAhmad Fatoum2022-01-101-6/+11
|/ | | | | | | | | | | | | | | | | | | DTC complains about a Warning (chosen_node_is_root): /fragment@1/__overlay__/chosen: chosen node must be at root node As /chosen is already available in the device tree of all of: - ARM 32-Bit QEMU Virt - ARM 64-Bit QEMU Virt - RISC-V 32-Bit QEMU Virt - RISC-V 64-Bit QEMU Virt Just reference that in a new fragment to silence the warning. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220108171356.586099-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* RISC-V: qemu-virt: add overlay for environment and stateAhmad Fatoum2021-12-073-0/+9
| | | | | | | | | Like we do on ARM, let's add state and environment to RISC-V QEMU Virt as well. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211125161042.3829996-8-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* common: boards: qemu-virt: genericize to support non-ARM architecturesAhmad Fatoum2021-12-072-7/+26
| | | | | | | | | In preparation for extending support to RISC-V, sprinkle around some preprocessor directives. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211125161042.3829996-7-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: qemu: move board code to central locationAhmad Fatoum2021-12-075-0/+160
The state/environment overlay applied on top of QEMU is applicable to other virt platforms as well, like RISC-V. In preparation for sharing code across architectures, add a new common/boards and move the board code there. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20211125161042.3829996-6-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>