
Hi Simon
[....]
diff --git a/board/AndesTech/ax25-ae350/ax25-ae350.c b/board/AndesTech/ax25-ae350/ax25-ae350.c index 81b0ee992372..6de91208258f 100644 --- a/board/AndesTech/ax25-ae350/ax25-ae350.c +++ b/board/AndesTech/ax25-ae350/ax25-ae350.c @@ -21,7 +21,6 @@
DECLARE_GLOBAL_DATA_PTR;
-extern phys_addr_t prior_stage_fdt_address; /*
- Miscellaneous platform dependent initializations
*/ @@ -57,7 +56,13 @@ ulong board_flash_get_legacy(ulong base, int banknum, flash_info_t *info)
void *board_fdt_blob_setup(void) { +#if CONFIG_IS_ENABLED(OF_BOARD)
return (void *)gd->arch.firmware_fdt_addr;
This cast produces a warning for me, with qemu-riscv32
Uhm? What kind of warning? This is got an AndesTech board. How is QEMU related?
Cheers /Ilias
+#elif CONFIG_IS_ENABLED(OF_SEPARATE) return (void *)CONFIG_SYS_FDT_BASE; +#else
return NULL;
+#endif }
Regards, Simon