Skip to content
  • Mingkai Hu's avatar
    cmd_sf: include header file common.h before div64.h · 381c6e2c
    Mingkai Hu authored
    
    
    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: default avatarMingkai Hu <Mingkai.Hu@freescale.com>
    381c6e2c