Skip to content
Snippets Groups Projects
  1. Oct 26, 2011
  2. Oct 23, 2011
  3. Oct 21, 2011
  4. Oct 20, 2011
  5. Oct 18, 2011
  6. Oct 17, 2011
  7. Oct 15, 2011
    • Daniel Schwierzeck's avatar
      common: fix missing function pointer relocation in fixup_cmdtable() · fa28bd2e
      Daniel Schwierzeck authored
      
      The command auto-completion does not work on architectures relying
      on CONFIG_NEEDS_MANUAL_RELOC like MIPS. Cause is the missing function
      pointer fixup for cmd_tbl_t::complete function in fixup_cmdtable().
      
      This patch adds the missing pointer fixup in case of CONFIG_AUTO_COMPLETE
      is defined.
      
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      fa28bd2e
    • Timur Tabi's avatar
      fdt: update fdt_alloc_phandle to use fdt_get_phandle · 50bf17bd
      Timur Tabi authored
      
      The device tree compiler, dtc, can use "phandle" and/or "linux,phandle"
      properties to specify the phandle for any node.  By default, it uses
      both, but "linux,phandle" is deprecated.  One day, we'd like to stop using
      "linux,phandle", but U-boot needs to support both properties equally
      first.
      
      fdt_alloc_phandle() generates a unique phandle, but it was only checking
      the "linux,phandle" properties.  Instead, we use fdt_get_phandle(),
      which checks both properties automatically.  This ensures that we
      support dtbs that only use "phandle".
      
      The side-effect is that fdt_alloc_phandle() now takes twice as long, since
      it has to check for two properties instead of one in each node that it
      searches.
      
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      50bf17bd
    • Timur Tabi's avatar
      fdt: check for fdt errors in fdt_create_phandle · 3c927ccc
      Timur Tabi authored
      
      fdt_create_phandle() was ignoring errors from fdt_set_phandle().  If an
      error occurs, print an error message and return 0, which is an invalid
      phandle.  We also need to change the return type for fdt_create_phandle()
      to indicate that it cannot return an error code.
      
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      3c927ccc
  8. Oct 09, 2011
  9. Oct 05, 2011
  10. Oct 04, 2011
    • Wolfgang Denk's avatar
      Revert "GCC4.6: Convert various empty macros to inline functions" · f092f15d
      Wolfgang Denk authored
      This reverts commit 60ce53cf.
      
      The commit causes build breakage for a number of boards. This results
      from the fact that now the arguments of debug() actually get
      referenced (even if there is hope that the compiler will optimize
      away the debug() call).  The obvious fix to that probem (change the
      code to always declare the referenced variables and data structures)
      increases the code size, and was this rejected.  So it was decided to
      revert this commit until a better solution is found.
      f092f15d
  11. Oct 03, 2011
Loading