X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=arch%2Farm%2Fmach-tegra%2Fcache.c;h=6dad40325d2f3ba0a320b10c44bfe6f2c15a36d6;hb=cd85bec36d0e0d16fedb00e0c434ed070a9c6b37;hp=94f5bce90ec3fc19f93a0f4044671535d9eade57;hpb=ded4bc3a8ba6e96811f761b358b4c628ec927ade;p=u-boot diff --git a/arch/arm/mach-tegra/cache.c b/arch/arm/mach-tegra/cache.c index 94f5bce90e..6dad40325d 100644 --- a/arch/arm/mach-tegra/cache.c +++ b/arch/arm/mach-tegra/cache.c @@ -1,17 +1,7 @@ /* * Copyright (c) 2013-2014, NVIDIA CORPORATION. All rights reserved. * - * This program is free software; you can redistribute it and/or modify it - * under the terms and conditions of the GNU General Public License, - * version 2, as published by the Free Software Foundation. - * - * This program is distributed in the hope it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * SPDX-License-Identifier: GPL-2.0 */ /* Tegra cache routines */ @@ -21,6 +11,7 @@ #include #include +#ifndef CONFIG_ARM64 void config_cache(void) { u32 reg = 0; @@ -44,3 +35,4 @@ void config_cache(void) reg |= 2; asm("mcr p15, 1, %0, c9, c0, 2" : : "r" (reg)); } +#endif