From: Tom Rini Date: Mon, 8 Apr 2013 12:28:13 -0400 Subject: [U-Boot] [U-Boot, Upstream] cmd_sf: include header file common.h before div64.h In-Reply-To: <1365408812-18563-1-git-send-email-Mingkai.Hu@freescale.com> References: <1365408812-18563-1-git-send-email-Mingkai.Hu@freescale.com> Message-ID: <20130408162813.GC31518@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Apr 07, 2013 at 10:13:32PM -0000, Mingkai Hu wrote: > The header file div64.h includes which defines > the phys_addr_t according to the macro CONFIG_PHYS_64BIT, while > the macro CONFIG_PHYS_64BIT is included in common.h which comes > after div64.h, so in order to get consistent type definition for > phys_addr_t, common.h should be included before div64.h, Or else, > the parameters of phys_addr_t type will be passed wrongly when > CONFIG_PHYS_64BIT is defined. > > Signed-off-by: Mingkai Hu Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: