[U-Boot] [U-Boot, 1/2] omap: Fix AM335x build with enabled fastboot flash
Tom Rini
trini at konsulko.com
Wed Mar 14 14:10:21 UTC 2018
On Tue, Feb 27, 2018 at 11:45:03PM +0200, Sam Protsenko wrote:
> When enabling CONFIG_FASTBOOT_FLASH in am335x_boneblack_defconfig, next
> build errors and warnings occur:
>
> arch/arm/mach-omap2/utils.c: In function ‘omap_set_fastboot_cpu’:
> arch/arm/mach-omap2/utils.c:26:16: warning: implicit declaration of
> function ‘omap_revision’ [-Wimplicit-function-declaration]
> u32 cpu_rev = omap_revision();
> ^~~~~~~~~~~~~
> arch/arm/mach-omap2/utils.c:29:7: error: ‘DRA762_ES1_0’ undeclared
> (first use in this function)
>
> Include asm/omap_common.h explicitly to avoid those.
>
> Signed-off-by: Sam Protsenko <semen.protsenko at linaro.org>
> Acked-by: Lukasz Majewski <lukma at denx.de>
> Reviewed-by: Tom Rini <trini at konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180314/58540791/attachment.sig>
More information about the U-Boot
mailing list