[PATCH v3 6/6] ARM: rpi: enable deep-probe support
Ahmad Fatoum
a.fatoum at pengutronix.de
Thu Feb 3 04:37:20 PST 2022
On 03.02.22 11:45, Oleksij Rempel wrote:
> With deep-probe enabled we can reduce boot time from 250msec to 190msec
> on the RPi2
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
Nice!
>
> 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",
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list