summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/qemu-virt64
Commit message (Collapse)AuthorAgeFilesLines
* ARM: boards: Harmonize barebox_arm_reset_vector() prototypeSascha Hauer2019-03-181-1/+1
| | | | | | | | | | | | barebox_arm_reset_vector() is a global function but we never provided a prototype anywhere. The prototypes differ for the different boards, so to provide a common prototype we must harmonize them. void barebox_arm_reset_vector(uint32_t r0, uint32_t r1, uint32_t r2) Should be suitable for all boards. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: qemu-virt64: Remove orphan KconfigAlexander Shiyan2019-01-211-8/+0
| | | | | | | | arch/arm/boards/qemu-virt64/Kconfig is not used by build system, so it can be removed. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: aarch64: mmu: enable mmu in generic codeSascha Hauer2018-03-231-10/+0
| | | | | | | | Using board code to enable the MMU is not nice. Do it in generic code. Since mmu_enable() is now done in mmu_64.c we no longer have to export it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: aarch64: qemu board: remove unnecessary mappingSascha Hauer2018-03-231-5/+0
| | | | | | | | Now that we do the initial flat mapping as device memory all addresses that are not SDRAM are already mapped as device memory, so we can drop the mapping from the board file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: mmu: include pgtable header from where it's neededSascha Hauer2018-03-211-1/+4
| | | | | | | | Instead of #ifdefing the correct pgtable header file to include, include it where it's needed. Also, move the memory type attributes into there consumers, namely the mmu.c files. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* defaultenv: add defaultenv-1 in boards via defaultenv_append_directory()Sascha Hauer2016-10-103-0/+5
| | | | | | | | | | | | | | | | | | | | Currently it's hardcoded for each board which defaultenv version is used. This is unfortunate since some people like the other defaultenv version better and may want to select it. This patch removes the board specific environment path CONFIG_DEFAULT_ENVIRONMENT_PATH and instead adds it via: if (IS_ENABLED(CONFIG_DEFAULT_ENVIRONMENT_GENERIC)) defaultenv_append_directory(defaultenv_<board>); This way we can make sure that the defaultenv-1 board specific bits are only compiled in when defaultenv-1 is actually in use. The next step is to make the defaultenv version selection a user visible choice. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* arm: boards: add mach-qemu and virt64 boardRaphael Poggi2016-07-065-0/+109
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>