1. 26 Jun, 2015 1 commit
    • Joe Hershberger's avatar
      Move default y configs out of arch/board Kconfig · c9bb942e
      Joe Hershberger authored
      
      
      Some archs/boards specify their own default by pre-defining the config
      which causes the Kconfig system to mix up the order of the configs in
      the defconfigs... This will cause merge pain if allowed to proliferate.
      
      Remove the configs that behave this way from the archs.
      
      A few configs still remain, but that is because they only exist as
      defaults and do not have a proper Kconfig entry. Those appear to be:
      
      SPIFLASH
      DISPLAY_BOARDINFO
      Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
      drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      c9bb942e
  2. 13 May, 2015 1 commit
  3. 12 May, 2015 1 commit
  4. 03 Apr, 2015 1 commit
    • Alexey Brodkin's avatar
      arc: minor fixes in Kconfig · b903792e
      Alexey Brodkin authored
      
      
       [1] Fix misspeling in ARC_CACHE_LINE_SHIFT dependency, now cache-line
      lenth selection is correctly enabled if either I$ or D$ are enabled.
      
       [2] Add dummy entry to target list to make sure target type is always
      mentioned in defconfig. Otherwise defconfig for the first target in the
      list will not have target name and later on with addition of the new
      target on top of the list in Kconfig will lead to corrupted
      configuration expanded from defconfig.
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      b903792e
  5. 13 Feb, 2015 1 commit
    • Alexey Brodkin's avatar
      arc: introduce U-Boot port for ARCv2 ISA · f13606b7
      Alexey Brodkin authored
      
      
      ARC HS and ARC EM are new cores based on ARCv2 ISA which is binary
      incompatible with ISAv1 (AKA ARCompact).
      
      Significant difference between ISAv2 and v1 is implementation of
      interrupt vector table.
      
      In v1 it is implemented in the same way as on many other architectures -
      as a special location where user may put whether code executed in place
      (if machine word of space is enough) or jump to a full-scale interrupt
      handler.
      
      In v2 interrupt table is just an array of adresses of real interrupt
      handlers. That requires a separate section for IVT that is not encoded
      as code by assembler.
      
      This change adds support for following cores:
       * ARC EM6 (simple 32-bit microcontroller without MMU)
       * ARC HS36 (advanced 32-bit microcontroller without MMU)
       * ARC HS38 (advanced 32-bit microcontroller with MMU)
      
      As a part of ARC HS38 new version of MMU (v4) was introduced.
      
      Also this change adds AXS131 board which is the same DW ARC SDP base board but
      with ARC HS38 CPU tile.
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      f13606b7
  6. 09 Feb, 2015 4 commits
    • Alexey Brodkin's avatar
      arc: build libgcc in U-Boot · a67ef280
      Alexey Brodkin authored
      
      
      This way we may have very limited set of functions implemented so we
      save some space.
      
      Also it allows us to build U-Boot for any ARC core with the same one
      toolchain because we don't rely on pre-built libgcc.
      
      For example:
       * we may use little-endian toolchain but build U-Boot for ether
      endianess
       * we may use non-multilibbed uClibc toolchain but build U-Boot for
      whatever ARC CPU flavour that current GCC supports
      
      Private libgcc built from generic C implementation contributes only 144
      bytes to .text section so we don't see significant degradation of size:
      --->8---
      $ arc-linux-size u-boot.libgcc-prebuilt
         text	   data	    bss	    dec	    hex	filename
       222217	  24912	 214820	 461949	  70c7d	u-boot.libgcc-prebuilt
      
      $ arc-linux-size u-boot.libgcc-private
         text	   data	    bss	    dec	    hex	filename
       222361	  24912	 214820	 462093	  70d0d	u-boot.libgcc-private
      --->8---
      
      Also I don't notice visible performance degradation compared to
      pre-built libgcc (where at least "*div*" functions are had-written in
      assembly) on typical operations of downloading 10Mb uImage over TFTP and
      bootm.
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      a67ef280
    • Alexey Brodkin's avatar
      arc: add selection of endianess in Kconfig · 1f9ad445
      Alexey Brodkin authored
      
      
      This change allows to keep board description clean and minimalistic.
      This is especially helpful if one board may house different CPUs with
      different features.
      
      It is applicable to both FPGA-based boards or those that have CPUs
      mounted on interchnagable daughter-boards.
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      1f9ad445
    • Alexey Brodkin's avatar
      arc: select cache settings via menuconfig · 205e7a7b
      Alexey Brodkin authored
      
      
      This change allows to keep board description clean and minimalistic.
      This is especially helpful if one board may house different CPUs with
      different features.
      
      It is applicable to both FPGA-based boards or those that have CPUs
      mounted on interchnagable daughter-boards.
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      205e7a7b
    • Alexey Brodkin's avatar
      arc: add more flavours of ARC700 series CPU · 812980bd
      Alexey Brodkin authored
      
      
      Now we may select a particular version of ARC700:
       * ARC750D or
       * ARC770D
      
      It allows more flexible (or more fine tuned) configuration of U-Boot.
      Before that change we relied on minimal configuration but now we may
      use specific features of each CPU.
      
      Moreover allows us to escape manual selection of options that
      exist in both CPUs but may have say different version like MMUv2 in
      ARC750D vs MMUv3 in ARC770D.
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      812980bd
  7. 15 Jan, 2015 2 commits
  8. 13 Sep, 2014 1 commit
  9. 30 Jul, 2014 1 commit
    • 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>
      dd84058d