u-boot-brain/arch
Masahiro Yamada 254d68b601 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib
U-Boot has supported two kinds of asm-offsets.h.

One is generic for all architectures and its source is located at
./lib/asm-offsets.c.

The other is SoC specific and its source is under SoC directory.
The problem here is that only boards with SoC directory can use
the asm-offsets infrastructure.
Putting asm-offsets.c right under CPU directory does not work.

Now a new demand is coming. PowerPC folks want to use asm-offsets.
But no PowerPC boards have SoC directory.

It seems inconsistent that some boards add asm-offsets.c to SoC
directoreis and some to CPU directories.
It looks more reasonable to put asm-offsets.c under arch/$(ARCH)/lib.

This commit merges asm-offsets.c under SoC directories into
arch/$(ARCH)/lib/asm-offsets.c.

By the way, I doubt the necessity of some entries in asm-offsets.c.
I am leaving refactoring to the board maintainers.
Please check "TODO" in the comment blocks in
arch/{arm,nds32}/lib/asm-offsets.c.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Yuantian Tang <Yuantian.Tang@freescale.com>
2014-03-28 15:06:29 -04:00
..
arc kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
arm kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
avr32 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
blackfin kbuild: improve Kbuild speed 2014-03-07 10:59:06 -05:00
m68k kbuild: rename OBJTREE to objtree 2014-03-12 17:04:58 -04:00
microblaze kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
mips usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
nds32 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
nios2 kbuild: fix CROSS_COMPILE settings in config.mk 2014-03-04 12:15:30 -05:00
openrisc kbuild: delete redundant LDSCRIPT definition 2014-03-12 17:04:46 -04:00
powerpc kbuild: rename OBJTREE to objtree 2014-03-12 17:04:58 -04:00
sandbox sandbox: Add options to clean up temporary files 2014-03-17 20:05:49 -06:00
sh sh: fix PFC registers definition for SH772{2, 3, 4} 2014-03-14 14:49:54 +09:00
sparc usb: create common header virtual root hub descriptors 2014-03-10 18:53:36 +01:00
x86 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00