X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Farm%2Fmach-orion5x%2Fcpu.c;h=79b5f4f34f46aaaa47107b9714149ad5be15ccb7;hb=a6477f7cbc56126d7a946115fb06bfed6b3565ba;hp=f88db3b1f96ad400fdf47c0e3bbd83f91a46ed6a;hpb=3e93b4e6001104152fec850d4724ea9ffad03e05;p=oweals%2Fu-boot.git diff --git a/arch/arm/mach-orion5x/cpu.c b/arch/arm/mach-orion5x/cpu.c index f88db3b1f9..79b5f4f34f 100644 --- a/arch/arm/mach-orion5x/cpu.c +++ b/arch/arm/mach-orion5x/cpu.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2010 Albert ARIBAUD * @@ -5,8 +6,6 @@ * (C) Copyright 2009 * Marvell Semiconductor * Written-by: Prafulla Wadaskar - * - * SPDX-License-Identifier: GPL-2.0+ */ #include @@ -234,7 +233,9 @@ int arch_cpu_init(void) /* Enable and invalidate L2 cache in write through mode */ invalidate_l2_cache(); +#ifdef CONFIG_SPL_BUILD orion5x_config_adr_windows(); +#endif return 0; }