1. 01 Nov, 2013 1 commit
  2. 14 Oct, 2013 1 commit
  3. 24 Jul, 2013 1 commit
  4. 23 Jul, 2013 1 commit
  5. 27 Jun, 2013 1 commit
  6. 04 Feb, 2013 2 commits
  7. 24 Oct, 2012 2 commits
  8. 19 Oct, 2012 4 commits
    • Marek Vasut's avatar
      m68k: Fix unused variable warning in speed.c · c1568ca5
      Marek Vasut authored
      
      
      The following warning was produced, fix it:
      
      speed.c: In function 'get_clocks':
      speed.c:94:15: warning: variable 'bPci' set but not used [-Wunused-but-set-variable]
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com>
      Cc: Jason Jin <jason.jin@freescale.com>
      c1568ca5
    • Marek Vasut's avatar
      m68k: Fix unused variable warning · 2b05593d
      Marek Vasut authored
      
      
      The fbcs variable was unused, producing the following warning:
      
      cpu_init.c: In function 'cpu_init_f':
      cpu_init.c:52:10: warning: unused variable 'fbcs' [-Wunused-variable]
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com>
      Cc: Jason Jin <jason.jin@freescale.com>
      2b05593d
    • Marek Vasut's avatar
      m68k: Fix wrong assembler instruction in start.S · 37d6cc31
      Marek Vasut authored
      
      
      The jmp _fault generated the following error message, thus change it
      to bra _fault:
      
      start.S: Assembler messages:
      start.S:310: Error: Conversion of PC relative displacement to absolute
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com>
      Cc: Jason Jin <jason.jin@freescale.com>
      37d6cc31
    • Philippe De Muyter's avatar
      m68k: Fix relocation errors in start.S · 2ca7406c
      Philippe De Muyter authored
      
      
      When the environment sectors in the flash are big, one get those errors :
      
       mcf547x_8x/start.S:173: relocation truncated to fit: R_68K_PC16 against
        symbol `cpu_init_f' defined in .text section in libmcf547x_8x.a(cpu_init.o)
       mcf547x_8x/start.S:174: relocation truncated to fit: R_68K_PC16 against
        symbol `board_init_f' defined in .text section in libm68k.a(board.o)
      
      Fix that.
      Signed-off-by: default avatarPhilippe De Muyter <phdm@macqel.be>
      Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com>
      Cc: Jason Jin <jason.jin@freescale.com>
      2ca7406c
  9. 20 Sep, 2012 7 commits
  10. 05 Dec, 2011 1 commit
  11. 18 Oct, 2011 1 commit
  12. 04 Sep, 2011 2 commits
  13. 28 Jul, 2011 1 commit
  14. 26 Jul, 2011 2 commits
  15. 21 Dec, 2010 1 commit
  16. 28 Nov, 2010 1 commit
  17. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      
      
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      inspired.
      
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      scripts.
      
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  18. 26 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value · 25ddd1fb
      Wolfgang Denk authored
      
      
      CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
      being able to use "sizeof(struct global_data)" in assembler files.
      Recent experience has shown that manual synchronization is not
      reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
      GENERATED_GBL_DATA_SIZE which gets automatically generated by the
      asm-offsets tool.  In the result, all definitions of this value can be
      deleted from the board config files.  We have to make sure that all
      files that reference such data include the new <asm-offsets.h> file.
      
      No other changes have been done yet, but it is obvious that similar
      changes / simplifications can be done for other, related macro
      definitions as well.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
      25ddd1fb
  19. 18 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk authored
      
      
      The change is currently needed to be able to remove the board
      configuration scripting from the top level Makefile and replace it by
      a simple, table driven script.
      
      Moving this configuration setting into the "CONFIG_*" name space is
      also desirable because it is needed if we ever should move forward to
      a Kconfig driven configuration system.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      14d0a02a
  20. 04 Jul, 2010 1 commit
    • Wolfgang Denk's avatar
      Make sure that argv[] argument pointers are not modified. · 54841ab5
      Wolfgang Denk authored
      
      
      The hush shell dynamically allocates (and re-allocates) memory for the
      argument strings in the "char *argv[]" argument vector passed to
      commands.  Any code that modifies these pointers will cause serious
      corruption of the malloc data structures and crash U-Boot, so make
      sure the compiler can check that no such modifications are being done
      by changing the code into "char * const argv[]".
      
      This modification is the result of debugging a strange crash caused
      after adding a new command, which used the following argument
      processing code which has been working perfectly fine in all Unix
      systems since version 6 - but not so in U-Boot:
      
      int main (int argc, char **argv)
      {
      	while (--argc > 0 && **++argv == '-') {
      /* ====> */	while (*++*argv) {
      			switch (**argv) {
      			case 'd':
      				debug++;
      				break;
      			...
      			default:
      				usage ();
      			}
      		}
      	}
      	...
      }
      
      The line marked "====>" will corrupt the malloc data structures and
      usually cause U-Boot to crash when the next command gets executed by
      the shell.  With the modification, the compiler will prevent this with
      an
      	error: increment of read-only location '*argv'
      
      N.B.: The code above can be trivially rewritten like this:
      
      	while (--argc > 0 && **++argv == '-') {
      		char *arg = *argv;
      		while (*++arg) {
      			switch (*arg) {
      			...
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      54841ab5
  21. 28 May, 2010 3 commits
    • Wolfgang Wegner's avatar
      add CONFIG_SYS_FEC_FULL_MII for MCF5445x · adf55679
      Wolfgang Wegner authored
      This patch adds support for full MII interface on MCF5445x (in contrast
      to RMII as used on the evaluation boards).
      
      Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
      adf55679
    • Wolfgang Wegner's avatar
      add CONFIG_SYS_FEC_NO_SHARED_PHY for MCF5445x · ae490997
      Wolfgang Wegner authored
      This patch adds the possibility to handle seperate PHYs to MCF5445x.
      Naming is chosen to resemble the contrary CONFIG_FEC_SHARED_PHY in the
      linux kernel.
      
      Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
      ae490997
    • Wolfgang Wegner's avatar
      add missing PCS3 for MCF5445x · e9b43cae
      Wolfgang Wegner authored
      This patch adds the code for handling PCS3 (DSPI chip select 3) in
      cpu_init.c and m5445x.h
      
      Signed-off-by: Wolfgang Wegner <w.wegner at astro-kom.de>
      e9b43cae
  22. 13 Apr, 2010 1 commit