u-boot/arch
Masahiro Yamada fbe79a17fd m68k: define __kernel_size_t as unsinged int again
Commit ddc94378d changed the definition of __kernel_size_t
from unsigned int to unsigned long.

It is true that it fixed warnings on some crosstools
but it increased warnings on the others.

The problem is that we cannot see consistency in terms of
the typedef of __kernel_size_t on M68K architecture.

However, I'd like to suggest to have __kernel_size_t to be
unsigned int again.

Rationale:

[1] Linux Kernel defines __kernel_size_t on M68K as unsigned int.
    Let's stick to the Linux's way.

[2] We want to build boards with popular pre-built toolchains,
    not the one locally-built by indivisuals.
    I think m68-linux-gcc which can be downloaded from www.kernel.org
    is the candidate for our _recommended_ toolchains.

With this patch, all the m68k boards can be built without any warnings.

Give it a try with the following crosstools:

https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/
x86_64-gcc-4.6.3-nolibc_m68k-linux.tar.xz

or

https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/
x86_64-gcc-4.9.0-nolibc_m68k-linux.tar.xz

(The latter is newer.)

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Jason Jin <Jason.jin@freescale.com>
2014-07-22 09:46:50 -04:00
..
arc ARC: enable CONFIG_SYS_BOOT_RAMDISK_HIGH 2014-06-03 16:16:57 +04:00
arm Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2014-07-11 14:54:48 -04:00
avr32 avr32: migrate cache functions 2014-06-14 18:06:58 +02:00
blackfin blackfin, powerpc: remove redundant definitions of ARRAY_SIZE 2014-07-07 19:47:12 -04:00
m68k m68k: define __kernel_size_t as unsinged int again 2014-07-22 09:46:50 -04:00
microblaze Makefile: Support include files for .dts files 2014-06-20 11:55:03 -06:00
mips common/board_f: Initialized global data for generic board 2014-05-12 15:20:05 -04:00
nds32 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
nios2 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
openrisc openrisc: fix relocation code 2014-06-05 14:44:56 -04:00
powerpc blackfin, powerpc: remove redundant definitions of ARRAY_SIZE 2014-07-07 19:47:12 -04:00
sandbox build: define CPU only when arch/${ARCH}/cpu/${CPU} exists 2014-07-07 19:42:34 -04:00
sh bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
sparc sparc: merge LEON2 and LEON3 linker scripts 2014-07-22 07:44:24 -04:00
x86 x86: Enable 32-bit build using x86_64 multilib toolchain 2014-06-23 15:37:23 -06:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00