[PATCH v3 6/6] ARM: rpi: enable deep-probe support
Oleksij Rempel
o.rempel at pengutronix.de
Thu Feb 3 02:45:52 PST 2022
With deep-probe enabled we can reduce boot time from 250msec to 190msec
on the RPi2
Signed-off-by: Oleksij Rempel <o.rempel at pengutronix.de>
---
arch/arm/boards/raspberry-pi/rpi-common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c
index 6e62d19643..9aa150de56 100644
--- a/arch/arm/boards/raspberry-pi/rpi-common.c
+++ b/arch/arm/boards/raspberry-pi/rpi-common.c
@@ -2,6 +2,7 @@
// SPDX-FileCopyrightText: 2009 Carlo Caione <carlo at carlocaione.org>
#include <common.h>
+#include <deep-probe.h>
#include <init.h>
#include <fs.h>
#include <of.h>
@@ -607,6 +608,7 @@ static const struct of_device_id rpi_of_match[] = {
{ .compatible = "raspberrypi,3-model-b-plus", .data = rpi_3_model_b_plus },
{ /* sentinel */ },
};
+BAREBOX_DEEP_PROBE_ENABLE(rpi_of_match);
static struct driver_d rpi_board_driver = {
.name = "board-rpi",
--
2.30.2
More information about the barebox
mailing list