diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-10-17 09:10:00 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-10-27 11:13:29 +0200 |
commit | 8130fc34366e123dbd459ed085fea280a575c0dc (patch) | |
tree | 8f5dab6ddbba4daaf7567284449f5beb796fa1ec /drivers/clk | |
parent | 7f8f629c50dce14bb83e7d4e2614bdd518ca3952 (diff) | |
download | barebox-8130fc34366e123dbd459ed085fea280a575c0dc.tar.gz barebox-8130fc34366e123dbd459ed085fea280a575c0dc.tar.xz |
ARM: stm32mp: mark iwdg2 with barebox,restart-warm-bootrom
All STM32MP1 DTs already include their respective barebox SoC header, so
set barebox,restart-warm-bootrom there, so users can portably run:
tamp.reboot_mode.next=serial reset -w
To get into DFU mode.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20221017071000.1458292-9-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/clk-stm32mp1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-stm32mp1.c b/drivers/clk/clk-stm32mp1.c index c4b03e9f6d..6753a36890 100644 --- a/drivers/clk/clk-stm32mp1.c +++ b/drivers/clk/clk-stm32mp1.c @@ -2280,7 +2280,7 @@ static int stm32mp1_rcc_init(struct device_d *dev) if (ret) return ret; - stm32mp_system_restart_init(base); + stm32mp_system_restart_init(dev); return 0; } |