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
..
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2010-04-13 09:13:04 +02:00
2013-02-20 16:48:17 +09:00
2013-05-05 17:55:05 +02:00
2012-08-09 23:42:20 +02:00
2011-08-01 15:19:40 +02:00
2012-05-15 08:31:37 +02:00
2012-11-02 15:20:41 -07:00
2011-08-04 23:34:02 +02:00
2010-01-27 21:23:14 +01:00
2013-04-01 16:33:52 -04:00
2012-12-06 13:56:39 -07:00
2012-03-27 22:05:28 +02:00
2013-03-12 23:28:40 +01:00
2013-04-28 11:07:40 +02:00
2009-09-04 21:54:52 +02:00
2011-10-22 01:22:21 +02:00
2012-12-11 13:17:34 -07:00
2010-09-19 19:29:47 +02:00
2013-02-19 17:01:26 -05:00
2011-08-04 23:34:02 +02:00
2013-05-14 16:00:26 -05:00
2012-10-22 14:31:25 -05:00
2012-05-15 08:31:34 +02:00
2013-04-28 11:07:40 +02:00
2012-11-27 09:41:10 -07:00
2013-03-29 20:10:42 +09:00
2013-01-08 10:54:33 +09:00
2012-11-15 21:08:20 +09:00
2013-03-15 16:14:00 -04:00
2009-10-13 06:17:35 -05:00
2012-05-25 09:15:10 +02:00
2013-04-01 16:33:52 -04:00
2012-10-26 16:28:07 +02:00
2012-10-23 15:23:26 -05:00
2013-05-31 17:12:03 -05:00
2013-06-04 16:06:31 -04:00
2010-03-21 22:44:42 +01:00
2013-05-10 08:25:55 -04:00
2010-03-12 23:06:04 +01:00
2011-10-05 22:03:11 +02:00
2011-03-27 19:19:54 +02:00
2013-04-01 16:33:52 -04:00
2012-11-27 17:26:48 -06:00
2011-08-04 23:34:02 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2013-05-10 08:25:56 -04:00
2012-11-10 19:45:58 +08:00
2009-10-03 10:17:56 +02:00
2013-04-01 16:33:52 -04:00
2012-05-15 08:31:40 +02:00
2013-04-12 14:13:13 -07:00
2013-04-12 14:13:13 -07:00
2012-05-15 08:31:37 +02:00
2011-04-29 07:32:48 -05:00
2013-05-10 08:25:54 -04:00
2013-04-01 16:33:52 -04:00
2011-08-01 15:19:40 +02:00
2012-10-15 11:53:59 -07:00
2013-04-01 16:33:52 -04:00