Skip to content
Snippets Groups Projects
  1. Apr 30, 2017
  2. Sep 20, 2016
    • Tom Rini's avatar
      PowerPC: Update MIP405/MIP405T to use Kconfig better · adf32adb
      Tom Rini authored
      
      Convert CONFIG_MIP405T from SYS_EXTRA_OPTIONS to a real config
      
      There are two boards, MIP405 and MIP405T that have a few differences.
      Start by checking for CONFIG_TARGET_MIP405.  Then introduce
      CONFIG_TARGET_MIP405T and use that not CONFIG_MIP405T.  Next, convert
      also convert the usage of CONFIG_ISO_STRING to be based on Kconfig.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      adf32adb
  3. Aug 05, 2016
    • Masahiro Yamada's avatar
      treewide: move CONFIG_PHYS_64BIT to Kconfig · bb6b142f
      Masahiro Yamada authored
      
      We need to ensure that CONFIG_PHYS_64BIT is configured via Kconfig so
      that it is always available to the build system.  Otherwise we can run
      into cases where we have inconsistent sizes of certain attributes.
      
      Ravi Babu reported offset mismatch of struct dwc3 across files since
      commit 95ebc253 ("types.h: move and redefine resource_size_t").
      Since the commit, resource_addr_t points to phys_addr_t, whose size
      is dependent on CONFIG_PHYS_64BIT for ARM architecture.
      
      I tried my best to use "select" where possible (for example, ARMv8
      architecture) because I think this kind of option is generally user-
      unconfigurable.  However, I see some of PowerPC boards have 36BIT
      defconfigs as well as 32BIT ones.  I moved CONFIG_PHYS_64BIT to the
      defconfigs for such boards.
      
      CONFIG_36BIT is no longer referenced, so all of the defines were
      removed from CONFIG_SYS_EXTRA_OPTIONS.
      
      Fixes: 95ebc253 ("types.h: move and redefine resource_size_t")
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reported-by: default avatarRavi Babu <ravibabu@ti.com>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      bb6b142f
  4. Jan 27, 2016
  5. Nov 30, 2015
  6. Oct 28, 2015
  7. Oct 11, 2015
  8. Sep 02, 2015
  9. May 12, 2015
  10. May 10, 2015
    • Stefan Roese's avatar
      ppc4xx: Remove sc3 board · 27e72156
      Stefan Roese authored
      
      As this board seems to be unmaintained for quite some time, and its
      not moved to the generic board ingrastructure, lets remove it.
      
      This will also enable us to remove the CONFIG_AUTOBOOT_DELAY_STR2
      and CONFIG_AUTOBOOT_STOP_STR2 macros, as this sc3 board is the
      only one using one of this macros. A removal patch will follow
      soon.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Juergen Beisert <jbeisert@eurodsn.de>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      27e72156
  11. Apr 18, 2015
    • Masahiro Yamada's avatar
      dm: select CONFIG_DM* options · 58d423b8
      Masahiro Yamada authored
      
      As mentioned in the previous commit, adding default values in each
      Kconfig causes problems because it does not co-exist with the
      "depends on" syntax.  (Please note this is not a bug of Kconfig.)
      We should not do so unless we have a special reason.  Actually,
      for CONFIG_DM*, we have no good reason to do so.
      
      Generally, CONFIG_DM is not a user-configurable option.  Once we
      convert a driver into Driver Model, the board only works with Driver
      Model, i.e. CONFIG_DM must be always enabled for that board.
      So, using "select DM" is more suitable rather than allowing users to
      modify it.  Another good thing is, Kconfig warns unmet dependencies
      for "select" syntax, so we easily notice bugs.
      
      Actually, CONFIG_DM and other related options have been added
      without consistency: some into arch/*/Kconfig, some into
      board/*/Kconfig, and some into configs/*_defconfig.
      
      This commit prefers "select" and cleans up the following issues.
      
      [1] Never use "CONFIG_DM=n" in defconfig files
      
      It is really rare to add "CONFIG_FOO=n" to disable CONFIG options.
      It is more common to use "# CONFIG_FOO is not set".  But here, we
      do not even have to do it.
      Less than half of OMAP3 boards have been converted to Driver Model.
      Adding the default values to arch/arm/cpu/armv7/omap3/Kconfig is
      weird.  Instead, add "select DM" only to appropriate boards, which
      eventually eliminates "CONFIG_DM=n", etc.
      
      [2] Delete redundant CONFIGs
      
      Sandbox sets CONFIG_DM in arch/sandbox/Kconfig and defines it again
      in configs/sandbox_defconfig.
      Likewise, OMAP3 sets CONFIG_DM arch/arm/cpu/armv7/omap3/Kconfig and
      defines it also in omap3_beagle_defconfig and devkit8000_defconfig.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      58d423b8
  12. Mar 17, 2015
  13. Jan 23, 2015
  14. Jan 13, 2015
Loading