From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 20 Dec 2011 08:04:23 +0100 Subject: [U-Boot] [PATCH] arm, arm-kirkwood: disable l2c before linux boot In-Reply-To: <201112190021.01018.michael@walle.cc> References: <1324246191-1823-1-git-send-email-michael@walle.cc> <201112190004.18365.marek.vasut@gmail.com> <201112190021.01018.michael@walle.cc> Message-ID: <4EF03377.7080202@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Michael, Le 19/12/2011 00:21, Michael Walle a ?crit : > Am Montag 19 Dezember 2011, 00:04:18 schrieb Marek Vasut: > [..snip..] >> Please use #define to define the magic value above (1<< 22) and >> then use it. >> >> M > > The bit was taken from arch/arm/cpu/arm926ejs/kirkwood/cpu.c. Unfortunately > there is no documentation publicly available, so i can only guess names. > > FEROCEON_EXTRA_FEATURE_L2C_EN ? Works for me. > Even the linux kernel has no proper macro names :( Time we told them to have one, then. :) I assume the patch was tested against a 3.2-rc1 kernel and also a pre-3.2-rc1 kernel to avoid regression? Amicalement, -- Albert.