Skip to content
Snippets Groups Projects
  1. Jun 07, 2013
  2. May 15, 2013
    • Ying Zhang's avatar
      drivers/mmc: move spl_mmc.c to common/spl · ade8a1a6
      Ying Zhang authored
      
      The mpc85xx repuires a special layout on the memory device that is
      connected to the eSDHC controller interface. But the file spl_mmc.c
      didn't handle this specfic case, there needs a special treatmen, in
      the powerpc drictory. So, there is no longer to keep spl_mmc.c on
      mpc85xx, CONFIG_SPL_FRAMEWORK is not set.
      
      When CONFIG_SPL_MMC_SUPPORT is set and CONFIG_SPL_FRAMEWORK is not
      set, there was an error in drivers/mmc/spl_mmc.c:
      
      drivers/mmc/libmmc.o:(.got2+0x8): undefined reference to `spl_image'.
      
      Now, the solution is to move the file "spl_mmc.c" to directory "common/spl".
      
      Signed-off-by: default avatarYing Zhang <b40530@freescale.com>
      ade8a1a6
  3. May 01, 2013
  4. Sep 27, 2012
  5. May 15, 2012
  6. Oct 17, 2011
    • Simon Glass's avatar
      Move timestamp and version files into 'generated' subdir · efb2172e
      Simon Glass authored
      
      There is a rather subtle build problem where the build time stamp is not
      updated for out-of-tree builds if there exists an in-tree build which
      has a valid timestamp file. So if you do an in-tree build, then an
      out-of-tree build your timestamp will not change.
      
      The correct timestamp_autogenerated.h lives in the object tree, but it
      is not always found there. The source still lives in the source tree and
      when compiling version.h, it includes timestamp_autogenerated.h. Since
      the current directory is always searched first, this will come from the
      source tree rather than the object tree if it exists there. This affects
      dependency generation also, which means that common/cmd_version.o will not
      even be rebuilt if you have ever done an in-tree build.
      
      A similar problem exists with the version file.
      
      This change moves both files into the 'generated' subdir, which is already
      used for asm-offsets.h. Then timestamp.h and version.h are updated to
      include the files from there.
      
      There are other places where these generated files are included, but I
      cannot see why these don't just use the timestamp.h and version.h headers.
      So this change also tidies that up.
      
      I have tested this with in- and out-of-tree builds, but not SPL. I have
      looked at various other options for fixing this, including sed on the dep
      files, -I- and -include flags to gcc, but I don't think they can be made
      to work. Comments welcome.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      efb2172e
  7. Sep 30, 2011
Loading