Re: [PATCH v3 6/6] ARM: rpi: enable deep-probe support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>

Nice!

> 
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxx>
>  
>  #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 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux