diff mbox series

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

Message ID 20230119125745.2028814-1-thuth@redhat.com
State New
Headers show
Series configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config | expand

Commit Message

Thomas Huth Jan. 19, 2023, 12:57 p.m. UTC
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(+)

Comments

Philippe Mathieu-Daudé Jan. 19, 2023, 1:47 p.m. UTC | #1
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>
diff mbox series

Patch

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