1. 31 May, 2016 2 commits
    • Paul Burton's avatar
      MIPS: Split I & D cache line size config · 37228621
      Paul Burton authored
      Allow L1 Icache & L1 Dcache line size to be specified separately, since
      there's no architectural mandate that they be the same. The
      [id]cache_line_size functions are tidied up to take advantage of the
      fact that the Kconfig entries are always present to simply check them
      for zero rather than needing to #ifdef on their presence.
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      [removed CONFIG_SYS_CACHELINE_SIZE in include/configs/pic32mzdask.h]
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
    • Paul Burton's avatar
      MIPS: Move cache sizes to Kconfig · ace3be4f
      Paul Burton authored
      Move details of the L1 cache line sizes & total sizes into Kconfig,
      defaulting to 0. A new CONFIG_SYS_CACHE_SIZE_AUTO Kconfig entry is
      introduced to allow platforms to select auto-detection of cache sizes,
      and it defaults to being enabled if none of the cache sizes are set by
      the configuration (ie. sizes are all the default 0), and code is
      adjusted to #ifdef on that rather than on the definition of the sizes
      (which will always be defined even if 0).
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
  2. 25 May, 2016 1 commit
  3. 01 Nov, 2014 2 commits
  4. 24 Sep, 2014 1 commit
    • Masahiro Yamada's avatar
      MAINTAINERS: comment out blank M: field · 535aad29
      Masahiro Yamada authored
      Since commit ddaf5c8f
      (patman: RunPipe() should not pipe stdout/stderr unless asked),
      Patman spits lots of "Invalid MAINTAINERS address: '-'"
      error messages for patches with global changes.
      It takes too long for Patman to process them.
      Anyway, "M:    -" does not carry any important information.
      Rather, it is just like a place holder in case of assigning
      a new board maintainer.  Let's comment out.
      This commit can be reproduced by the following command:
      find . -name MAINTAINERS | xargs sed -i -e '/^M:[[:blank:]]*-$/s/^/#/'
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
  5. 13 Sep, 2014 1 commit
  6. 30 Jul, 2014 2 commits
    • Masahiro Yamada's avatar
      Add board MAINTAINERS files · 93d4334f
      Masahiro Yamada authored
      We have switched to Kconfig and the boards.cfg file is going to
      be removed. We have to retrieve the board status and maintainers
      information from it.
      The MAINTAINERS format as in Linux Kernel would be nice
      because we can crib the scripts/get_maintainer.pl script.
      After some discussion, we chose to put a MAINTAINERS file under each
      board directory, not the top-level one because we want to collect
      relevant information for a board into a single place.
      Modify get_maintainer.pl to scan multiple MAINTAINERS files.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: default avatarTom Rini <trini@ti.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
    • Masahiro Yamada's avatar
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada authored
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
  7. 31 Oct, 2013 1 commit
  8. 24 Jul, 2013 1 commit
  9. 30 Jan, 2013 2 commits
    • Gabor Juhos's avatar
      MIPS: qemu-mips: use the unified u-boot.lds script · 1b8ceb4b
      Gabor Juhos authored
      Remove the board specific linker script. It is not
      needed anymore, the unified MIPS linker script can
      be used instead.
      All qemu_mips targets are producing identical binary
      images after the change than before.
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
    • Gabor Juhos's avatar
      MIPS: remove OUTPUT_FORMAT from linker scripts · 9950b90d
      Gabor Juhos authored
      The OUTPUT_FORMAT command in linker scripts
      was always misused due to some endianess and
      toolchain problems.
      Use GCC flags to ensure proper output format,
      and get rid of the OUTPUT_FORMAT commands in
      the board specific u-boot.lds files.
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Xiangfu Liu <xiangfu@openmobilefree.net>
  10. 16 Jan, 2013 4 commits
    • Daniel Schwierzeck's avatar
    • Daniel Schwierzeck's avatar
      MIPS: qemu-mips: update and fix example usage in README · 2b086ce4
      Daniel Schwierzeck authored
      By now U-Boot supports Qemu MIPS for little and big endian
      as well as 32 bit and 64 bit. Update and fix the example usage
      in the README to reflect this.
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
    • Gabor Juhos's avatar
      MIPS: qemu-mips: add '-M mips' switch to the example usage command · 3567e4ef
      Gabor Juhos authored
      Using the example command from the README file does
      not work as expected. qemu shows a text similar to
      the one below and it hangs.
          $ qemu-system-mips -L . -nographic
          Could not open option rom 'pxe-pcnet.rom': No such file or directory
          qemu-system-mips: pci_add_option_rom: failed to find romfile "vgabios-cirrus.bin"
          qemu: terminating on signal 15 from pid 19726
      This happens because qemu emulates a Malta board by
      default if the machine type is not defined explicitely
      on the command line.
      For a working test, the '-M mips' switch is required:
          $ qemu-system-mips -M mips -L . -nographic
          Could not open option rom 'vgabios.bin': No such file or directory
          U-Boot 2013.01-rc2-00132-g1e8e648-dirty (Jan 08 2013 - 09:06:42)
          Board: Qemu -M mips CPU: 24Kf proc_id=0x19300
          DRAM:  128 MiB
          ## Unknown flash on Bank 1 - Size = 0x00000000 = 0 MB
          Flash: 0 Bytes
          *** Warning - bad CRC, using default environment
          In:    serial
          Out:   serial
          Err:   serial
          Net:   NE2000
          Hit any key to stop autoboot:  0
          qemu-mips #
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      Cc: Vlad Lungu <vlad.lungu@windriver.com>
    • Gabor Juhos's avatar
      MIPS: qemu-mips: fix a typo in README · 0f17f59c
      Gabor Juhos authored
      The 'Limitations & comments' section refers to the
      '-m mips' switch which is not valid. The '-m' switch
      can be used for setting the virtual RAM size:
          $qemu-system-mips --help | grep '^-m '
          -m megs         set virtual RAM size to megs MB [default=128]
      The correct switch for specifying the machine type is '-M'.
      Fix the text to refer to that.
      Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      Cc: Vlad Lungu <vlad.lungu@windriver.com>
  11. 22 Oct, 2012 2 commits
    • Marek Vasut's avatar
      common: Discard the __u_boot_cmd section · 8b493a52
      Marek Vasut authored
      The command declaration now uses the new LG-array method to generate
      list of commands. Thus the __u_boot_cmd section is now superseded and
      redundant and therefore can be removed. Also, remove externed symbols
      associated with this section from include/command.h .
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
    • Marek Vasut's avatar
      common: Add .u_boot_list into all linker files · 55675142
      Marek Vasut authored
      Add section for the linker-generated lists into all possible linker
      files, so that everyone can easily use these lists. This is mostly
      a mechanical adjustment.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
  12. 16 Oct, 2012 2 commits
  13. 29 Jul, 2012 1 commit
  14. 08 Dec, 2011 1 commit
    • Bernhard Kaindl's avatar
      ne2000: Convert to new net-multi model, fixes build of three boards · d0201692
      Bernhard Kaindl authored
      This fixes the build of the two sh boards shmin and r7780mp and qemu-mips
      which currently fail to build due to dropped pre-CONFIG_NET_MULTI code.
      This v2 patch minimizes the number of lines in the diff for easy review
      and to eliminate any possible accidential changes resulting from moving
      lines of code in the file. This also makes the register function very easy.
      Any cleanups and improvements are intentionally deferred to follow-up patches
      to keep this patch as simple and as easy to review as possible.
      A new driver register function, ne2k_register() calls the existing
      one-time setup part of the old init function and calls eth_register().
      Changes to shmin, r7780mp and qemu-mips:
      - Call the new ne2k_register() from board_eth_init() of the boards.
      - Tested using qemu-mips board,
      - Tested the two renesas / sh boards r7780mp and shmin to compile again,
        and should work.
      checkpatch-clean when "--ignore VOLATILE" is added to .checkpatch.conf,
      and no warnings introduced in none of the three boards using this driver.
      Signed-off-by: default avatarBernhard Kaindl <bernhard.kaindl@gmx.net>
  15. 09 May, 2011 1 commit
  16. 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
      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
      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>
  17. 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>
  18. 04 Sep, 2010 1 commit
  19. 21 Aug, 2009 1 commit
  20. 20 Mar, 2009 1 commit
    • Trent Piepho's avatar
      Fix all linker script to handle all rodata sections · f62fb999
      Trent Piepho authored
      A recent gcc added a new unaligned rodata section called '.rodata.str1.1',
      which needs to be added the the linker script.  Instead of just adding this
      one section, we use a wildcard ".rodata*" to get all rodata linker section
      gcc has now and might add in the future.
      However, '*(.rodata*)' by itself will result in sub-optimal section
      ordering.  The sections will be sorted by object file, which causes extra
      padding between the unaligned rodata.str.1.1 of one object file and the
      aligned rodata of the next object file.  This is easy to fix by using the
      SORT_BY_ALIGNMENT command.
      This patch has not be tested one most of the boards modified.  Some boards
      have a linker script that looks something like this:
      . = ALIGN(16);
      I change this to:
      . = ALIGN(16);
      This means the start of rodata will no longer be 16 bytes aligned.
      However, the boundary between text and rodata/eh_frame is still aligned to
      16 bytes, which is what I think the real purpose of the ALIGN call is.
      Signed-off-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
  21. 18 Nov, 2008 1 commit
  22. 12 Jun, 2008 1 commit
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
  23. 05 Jun, 2008 1 commit
  24. 29 May, 2008 1 commit
  25. 09 May, 2008 1 commit
  26. 18 Apr, 2008 1 commit
  27. 22 Feb, 2008 1 commit
  28. 16 Jan, 2008 1 commit