[PATCH] configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config

Thomas Huth posted 1 patch 1 year, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230119125745.2028814-1-thuth@redhat.com
configs/targets/nios2-softmmu.mak | 1 +
1 file changed, 1 insertion(+)
[PATCH] configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config
Posted by Thomas Huth 1 year, 3 months ago
qemu-system-nios2 uses the functions from libfdt in hw/nios2/boot.c,
so this target has to be marked with TARGET_NEED_FDT=y in its config
file.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 configs/targets/nios2-softmmu.mak | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/targets/nios2-softmmu.mak b/configs/targets/nios2-softmmu.mak
index 1e93b54cd1..5823fc02c8 100644
--- a/configs/targets/nios2-softmmu.mak
+++ b/configs/targets/nios2-softmmu.mak
@@ -1,2 +1,3 @@
 TARGET_ARCH=nios2
 TARGET_ALIGNED_ONLY=y
+TARGET_NEED_FDT=y
-- 
2.31.1
Re: [PATCH] configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config
Posted by Philippe Mathieu-Daudé 1 year, 3 months ago
On 19/1/23 13:57, Thomas Huth wrote:
> qemu-system-nios2 uses the functions from libfdt in hw/nios2/boot.c,
> so this target has to be marked with TARGET_NEED_FDT=y in its config
> file.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   configs/targets/nios2-softmmu.mak | 1 +
>   1 file changed, 1 insertion(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>