u-boot-brain/include/asm-generic
Masahiro Yamada a0ba279ac6 generic_board: reduce the redundancy of gd_t struct members
This commit refactors common/board_f.c and common/board_r.c
in order to delete the dest_addr and dest_addr_sp from
gd_t struct.

As mentioned as follows in include/asm-generic/global_data.h,

  /* TODO: is this the same as relocaddr, or something else? */
  unsigned long dest_addr;        /* Post-relocation address of U-Boot */

dest_addr is the same as relocaddr.
Likewise, dest_addr_sp is the same as start_addr_sp.

It seemed dest_addr/dest_addr_sp was used only as a scratch variable
to calculate relocaddr/start_addr_sp, respectively.

With a little refactoring, we can delete dest_addr and dest_addr_sp.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Simon Glass <sjg@chromium.org>
2013-06-07 14:17:01 -04:00
..
errno.h asm-generic: Consolidate errno.h to asm-generic/errno.h 2009-07-09 14:07:11 +02:00
global_data_flags.h global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
global_data.h generic_board: reduce the redundancy of gd_t struct members 2013-06-07 14:17:01 -04:00
gpio.h gpio: remove duplicate function signature 2012-12-11 13:17:32 -07:00
ioctl.h x86: Fix support for booting bzImage 2010-05-06 00:17:01 +02:00
sections.h sandbox: Switch over to generic board 2013-05-01 11:17:21 -04:00
signal.h asm-generic/signal.h: import from linux 2010-01-17 20:36:05 -05:00
u-boot.h Power: remove support for Freescale MPC8220 2013-05-15 08:41:03 -04:00
unaligned.h asm-generic/unaligned.h: dynamic default unaligned accesses 2010-03-14 00:10:09 +01:00