From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fKxm1-0002DT-BG for barebox@lists.infradead.org; Tue, 22 May 2018 03:15:42 +0000 Received: by mail-pf0-x241.google.com with SMTP id a22-v6so8032714pfn.6 for ; Mon, 21 May 2018 20:15:30 -0700 (PDT) From: Andrey Smirnov Date: Mon, 21 May 2018 20:14:42 -0700 Message-Id: <20180522031510.25505-2-andrew.smirnov@gmail.com> In-Reply-To: <20180522031510.25505-1-andrew.smirnov@gmail.com> References: <20180522031510.25505-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v4 01/29] ARM: mmu: Remove unused ARM_VECTORS_SIZE To: barebox@lists.infradead.org Cc: Andrey Smirnov Signed-off-by: Andrey Smirnov --- arch/arm/cpu/mmu.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/cpu/mmu.c b/arch/arm/cpu/mmu.c index 6ccd5893b..9472013ca 100644 --- a/arch/arm/cpu/mmu.c +++ b/arch/arm/cpu/mmu.c @@ -270,12 +270,6 @@ static int arm_mmu_remap_sdram(struct memory_bank *bank) return 0; } -/* - * We have 8 exception vectors and the table consists of absolute - * jumps, so we need 8 * 4 bytes for the instructions and another - * 8 * 4 bytes for the addresses. - */ -#define ARM_VECTORS_SIZE (sizeof(u32) * 8 * 2) #define ARM_HIGH_VECTORS 0xffff0000 #define ARM_LOW_VECTORS 0x0 -- 2.17.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox