From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Wed, 12 Feb 2014 14:42:30 -0800 Subject: [U-Boot] [RFC] Add 64-bit data support for memory commands In-Reply-To: <20140212221101.A5F0338060E@gemini.denx.de> References: <1392240023-25205-1-git-send-email-yorksun@freescale.com> <20140212221101.A5F0338060E@gemini.denx.de> Message-ID: <52FBF8D6.1050806@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 02/12/2014 02:11 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <1392240023-25205-1-git-send-email-yorksun@freescale.com> you wrote: >> For aarch64, unsigned long is 64-bit data. Memory commands should be fixed >> with u32 for 32-bit address access. A double word data size is added to >> support 64-bit data. >> >> Signed-off-by: York Sun > > Can you please make all this code conditional for 64 bit architectures > only, so that 32 bit systems do not suffer from the increased code > size? > I should point out the main reason of this patch is to fix the wrong size of ulong, used in many places of cmd_mem.c. I can leave out the support of 64-bit data. I don't see how useful it is. York