m68k: rework BI_VIRT_RNG_SEED as BI_RNG_SEED
commit693869a66ed7b49f2c790d88a25fc3d0ec791e0c
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 26 Sep 2022 11:38:59 +0000 (26 13:38 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 21 Oct 2022 18:46:10 +0000 (21 20:46 +0200)
treec76a93e545ecbfd16edcd87e0dd8c7bedde98970
parent0529245488865038344d64fff7ee05864d3d17f6
m68k: rework BI_VIRT_RNG_SEED as BI_RNG_SEED

Following a change on the kernel side (see link), pass BI_RNG_SEED
instead of BI_VIRT_RNG_SEED. This should have no impact on
compatibility, as there will simply be no effect if it's an old kernel,
which is how things have always been. We then use this as an opportunity
to add this to q800, since now we can, which is a nice improvement.

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Laurent Vivier <laurent@vivier.eu>
Link: https://lore.kernel.org/lkml/20220923170340.4099226-3-Jason@zx2c4.com/
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Message-Id: <20220926113900.1256630-1-Jason@zx2c4.com>
[lv: s/^I/         /g]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/m68k/q800.c
hw/m68k/virt.c
include/standard-headers/asm-m68k/bootinfo-virt.h
include/standard-headers/asm-m68k/bootinfo.h