system: Open-code qemu_init_arch_modules() using target_name()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 4 Mar 2025 21:26:08 +0000 (22:26 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 6 Mar 2025 14:46:18 +0000 (15:46 +0100)
commitf2d4df439e0b2c2c3cebf792a7966466c9d97b52
tree17d0c0bf29dbb4cdeeff72c01f8cb0451316cf0c
parentdf9ae6aa84b92bb73c84194dc60f938e2495594c
system: Open-code qemu_init_arch_modules() using target_name()

Mostly revert commit c80cafa0c73 ("system: Add qemu_init_arch_modules")
but using target_name() instead of the target specific 'TARGET_NAME'
definition.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250305005225.95051-3-philmd@linaro.org>
include/system/arch_init.h
system/arch_init.c
system/vl.c