From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 4 Nov 2012 15:57:58 +0100 Subject: [U-Boot] [PATCH] arm: atmel: cpux9k2: add missing cache configs In-Reply-To: <1350632470-12737-1-git-send-email-esw@bus-elektronik.de> References: <1350632470-12737-1-git-send-email-esw@bus-elektronik.de> Message-ID: <20121104155758.61520d29@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Jens, On Fri, 19 Oct 2012 09:41:10 +0200, "Jens Scharsig (BuS Elektronik)" wrote: > From: "Jens Scharsig (BuS Elektronik)" > > * add CONFIG_SYS_CACHELINE_SIZE to eb_cpux9k2 board config header > * dissable dcache (CONFIG_SYS_DCACHE_OFF) for eb_cpux9k2 > > Signed-off-by: Jens Scharsig (BuS Elektronik) > --- > > This patch is send in reqest of > > It fix compliation errors as long as 920t cache is not implemented. > > include/configs/eb_cpux9k2.h | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/include/configs/eb_cpux9k2.h b/include/configs/eb_cpux9k2.h > index 9371ec3..3be4929 100644 > --- a/include/configs/eb_cpux9k2.h > +++ b/include/configs/eb_cpux9k2.h > @@ -43,6 +43,10 @@ > > #define MACH_TYPE_EB_CPUX9K2 1977 > #define CONFIG_MACH_TYPE MACH_TYPE_EB_CPUX9K2 > + > +#define CONFIG_SYS_CACHELINE_SIZE 32 > +#define CONFIG_SYS_DCACHE_OFF > + > /*--------------------------------------------------------------------------*/ > #ifndef CONFIG_RAMBOOT > #define CONFIG_SYS_TEXT_BASE 0x00000000 > @@ -56,7 +60,6 @@ > #define CONFIG_SYS_U_BOOT_BASE PHYS_FLASH_1 > #define CONFIG_SYS_U_BOOT_SIZE 0x60000 /* 384 KBytes */ > > - > #define CONFIG_BOOT_RETRY_TIME 30 > #define CONFIG_CMDLINE_EDITING > Applied to u-boot-arm/master, thanks! Amicalement, -- Albert.