diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2022-02-03 11:45:52 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-02-07 09:05:12 +0100 |
commit | 4ef6dbdba380dea39a73078b033ea58e66c0fbce (patch) | |
tree | 1c2106a63637878a244711fb10225956ad08b0b3 /arch | |
parent | 1e58f7f213c1df7fedb098b643ce7bb0dd8e0dde (diff) | |
download | barebox-4ef6dbdba380dea39a73078b033ea58e66c0fbce.tar.gz barebox-4ef6dbdba380dea39a73078b033ea58e66c0fbce.tar.xz |
ARM: rpi: enable deep-probe support
With deep-probe enabled we can reduce boot time from 250msec to 190msec
on the RPi2
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220203104552.3158202-7-o.rempel@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boards/raspberry-pi/rpi-common.c | 2 |
1 files changed, 2 insertions, 0 deletions
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@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", |