From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 13 Jun 2013 13:33:52 +0200 Subject: [U-Boot] [PATCH] LaCie kirkwood boards: allow disk > 2TB In-Reply-To: <1370871053-14524-1-git-send-email-fredo@starox.org> References: <1370871053-14524-1-git-send-email-fredo@starox.org> Message-ID: <20130613133352.4fa73a9e@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 Frederic, On Mon, 10 Jun 2013 15:30:53 +0200, Frederic Leroy wrote: > From: Fr?d?ric Leroy > > For big disk support, we need LBA addressing on 64 bits > --- > include/configs/lacie_kw.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/lacie_kw.h b/include/configs/lacie_kw.h > index 09b5798..847afcd 100644 > --- a/include/configs/lacie_kw.h > +++ b/include/configs/lacie_kw.h > @@ -111,6 +111,7 @@ > #define CONFIG_ENV_SPI_MAX_HZ 20000000 /* 20Mhz */ > #define CONFIG_SYS_IDE_MAXBUS 1 > #define CONFIG_SYS_IDE_MAXDEVICE 1 > +#define CONFIG_SYS_64BIT_LBA /* Allow disk > 2.1TB */ > #if defined(CONFIG_D2NET_V2) > #define CONFIG_SYS_PROMPT "d2v2> " > #elif defined(CONFIG_NET2BIG_V2) With gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) this patch causes the following warning for all boards: cmd_ide.c:992:4: warning: right shift count >= width of type [enabled by default] Amicalement, -- Albert.