diff options
Diffstat (limited to 'arch/arm/mach-at91/bootm-barebox.c')
-rw-r--r-- | arch/arm/mach-at91/bootm-barebox.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/bootm-barebox.c b/arch/arm/mach-at91/bootm-barebox.c index 1dccdb86a9..5540b8fad3 100644 --- a/arch/arm/mach-at91/bootm-barebox.c +++ b/arch/arm/mach-at91/bootm-barebox.c @@ -1,11 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-only + #define pr_fmt(fmt) "at91-bootm-barebox: " fmt #include <bootm.h> #include <common.h> #include <init.h> #include <memory.h> -#include <mach/cpu.h> -#include <mach/sama5_bootsource.h> +#include <mach/at91/sama5_bootsource.h> + +unsigned long at91_bootsource; +EXPORT_SYMBOL(at91_bootsource); static int do_bootm_at91_barebox_image(struct image_data *data) { @@ -38,7 +42,7 @@ static struct image_handler image_handler_at91_barebox_image = { static int at91_register_barebox_image_handler(void) { - if (!of_machine_is_compatible("atmel,sama5d2")) + if (!of_machine_is_compatible("atmel,sama5")) return 0; return register_image_handler(&image_handler_at91_barebox_image); |