On Mon, Jan 05, 2026 at 04:30:26PM -0700, Simon Glass wrote: > Hi Kuan-Wei, > > On Mon, 5 Jan 2026 at 11:20, Kuan-Wei Chiu <[email protected]> wrote: > > > > Currently, the Goldfish RTC driver exclusively relies on device tree > > to retrieve the base address, failing immediately if dev_read_addr() > > returns FDT_ADDR_T_NONE. This restriction prevents the driver from > > being used on platforms that instantiate devices via U_BOOT_DRVINFO() > > instead of device tree, such as the QEMU m68k virt machine. > > > > Add support for platform data to address this limitation. Update the > > probe function to fall back to retrieving the base address from > > struct goldfish_rtc_plat if the device tree address is unavailable. > > Introduce a new header file include/goldfish_rtc.h to define the > > platform data structure. > > > > Signed-off-by: Kuan-Wei Chiu <[email protected]> > > Reviewed-by: Heinrich Schuchardt <[email protected]> > > --- > > Changes in v5: > > - Rebase on u-boot/next branch. > > > > drivers/rtc/goldfish_rtc.c | 13 ++++++++++--- > > include/goldfish_rtc.h | 15 +++++++++++++++ > > 2 files changed, 25 insertions(+), 3 deletions(-) > > create mode 100644 include/goldfish_rtc.h > > > > You can package your own devicetree in the U-Boot source, to handle > what you need.
That's not helpful feedback here, the correct path is to use the machine as QEMU provides it and not start yet another pointless argument with QEMU. And this probably applies to some of your other feedback as well, thanks. -- Tom
signature.asc
Description: PGP signature

