qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config
@ 2023-01-19 12:57 Thomas Huth
  2023-01-19 13:47 ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2023-01-19 12:57 UTC (permalink / raw)
  To: Chris Wulff, Marek Vasut, qemu-devel; +Cc: qemu-trivial, Alistair Francis

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config
  2023-01-19 12:57 [PATCH] configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config Thomas Huth
@ 2023-01-19 13:47 ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-01-19 13:47 UTC (permalink / raw)
  To: Thomas Huth, Chris Wulff, Marek Vasut, qemu-devel
  Cc: qemu-trivial, Alistair Francis

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>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-19 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19 12:57 [PATCH] configs/targets/nios2-softmmu: Add TARGET_NEED_FDT=y to the nios2 config Thomas Huth
2023-01-19 13:47 ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).