diff options
author | Pali Rohár <pali@kernel.org> | 2021-07-23 11:14:24 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2021-07-31 09:49:32 +0200 |
commit | e1cd0d424cc5b30c731482e48a1c71f3c44755e5 (patch) | |
tree | 1f78bf143e46121e928b1d53e1547e54296a7fd6 /arch | |
parent | 4375598c52740c02a6dcde1213a31959c03aca12 (diff) | |
download | u-boot-e1cd0d424cc5b30c731482e48a1c71f3c44755e5.zip u-boot-e1cd0d424cc5b30c731482e48a1c71f3c44755e5.tar.gz u-boot-e1cd0d424cc5b30c731482e48a1c71f3c44755e5.tar.bz2 |
arm: mvebu: Mark return_to_bootrom() as a noreturn function
This function does not return, so add the appropriate compiler flag.
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Tested-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mvebu/include/mach/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/include/mach/cpu.h b/arch/arm/mach-mvebu/include/mach/cpu.h index 52473ad..7985885 100644 --- a/arch/arm/mach-mvebu/include/mach/cpu.h +++ b/arch/arm/mach-mvebu/include/mach/cpu.h @@ -142,7 +142,7 @@ int mvebu_mbus_probe(struct mbus_win windows[], int count); int mvebu_soc_family(void); u32 mvebu_get_nand_clock(void); -void return_to_bootrom(void); +void __noreturn return_to_bootrom(void); #ifndef CONFIG_DM_MMC int mv_sdh_init(unsigned long regbase, u32 max_clk, u32 min_clk, u32 quirks); |