aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-08-21 21:16:56 -0600
committerTom Rini <trini@konsulko.com>2023-08-31 13:16:54 -0400
commitf72d0d4a2f9a2d05ebeefb583992cc620f7c4c2d (patch)
treeafaa54f94971d8dc3e9c9b7bb5d860053c37b6eb /arch/riscv/lib
parentdd802467f44b68d6ed9315ffe3002b17dc43b622 (diff)
downloadu-boot-f72d0d4a2f9a2d05ebeefb583992cc620f7c4c2d.zip
u-boot-f72d0d4a2f9a2d05ebeefb583992cc620f7c4c2d.tar.gz
u-boot-f72d0d4a2f9a2d05ebeefb583992cc620f7c4c2d.tar.bz2
event: Convert existing spy records to simple
Very few of the existing event-spy records use the arguments they are passed. Update them to use a simple spy instead, to simplify the code. Where an adaptor function is currently used, remove it where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/riscv/lib')
-rw-r--r--arch/riscv/lib/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/lib/spl.c b/arch/riscv/lib/spl.c
index f4d3b67..9b242ed 100644
--- a/arch/riscv/lib/spl.c
+++ b/arch/riscv/lib/spl.c
@@ -28,7 +28,7 @@ __weak void board_init_f(ulong dummy)
if (ret)
panic("spl_early_init() failed: %d\n", ret);
- riscv_cpu_setup(NULL, NULL);
+ riscv_cpu_setup();
preloader_console_init();