diff options
author | Mingkai Hu <Mingkai.hu@freescale.com> | 2013-04-07 22:13:32 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-04-08 12:00:51 -0400 |
commit | 381c6e2c90ed083281649e74e461a303c1ffab47 (patch) | |
tree | bb0d383250a828934084a43609bfc64d81cebc94 /common/iomux.c | |
parent | a6142706f578e6246bc987ae8ac343f506d3ad35 (diff) | |
download | u-boot-imx-381c6e2c90ed083281649e74e461a303c1ffab47.zip u-boot-imx-381c6e2c90ed083281649e74e461a303c1ffab47.tar.gz u-boot-imx-381c6e2c90ed083281649e74e461a303c1ffab47.tar.bz2 |
cmd_sf: include header file common.h before div64.h
The header file div64.h includes <asm/types.h> 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 <Mingkai.Hu@freescale.com>
Diffstat (limited to 'common/iomux.c')
0 files changed, 0 insertions, 0 deletions