1. 10 3月, 2017 1 次提交
    • T
      Freescale/NXP: Migrate CONFIG_FSL_CAAM to defconfigs · 28522678
      Tom Rini 提交于
      In some cases this is absolutely required, so select this for some secure
      features.  This also requires migration of RSA_FREESCALE_EXP
      
      Cc: Ruchika Gupta <ruchika.gupta@nxp.com>
      Cc: Poonam Aggrwal <poonam.aggrwal@freescale.com>
      Cc: Naveen Burmi <NaveenBurmi@freescale.com>
      Cc: Po Liu <po.liu@freescale.com>
      Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
      Cc: Priyanka Jain <Priyanka.Jain@freescale.com>
      Cc: Sumit Garg <sumit.garg@nxp.com>
      Cc: Shaohui Xie <Shaohui.Xie@freescale.com>
      Cc: Chunhe Lan <Chunhe.Lan@freescale.com>
      Cc: Feng Li <feng.li_2@nxp.com>
      Cc: Alison Wang <alison.wang@freescale.com>
      Cc: Mingkai Hu <Mingkai.Hu@freescale.com>
      Cc: York Sun <york.sun@nxp.com>
      Cc: Saksham Jain <saksham.jain@nxp.freescale.com>
      Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      28522678
  2. 13 2月, 2017 1 次提交
    • M
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada 提交于
      We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
      not completed. Finish this work by the tool.
      
      During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
      Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
      than those of "#ifdef CONFIG_SYS_NO_FLASH".  Flipping the logic will
      make the code more readable.  Besides, negative meaning symbols do
      not fit in obj-$(CONFIG_...) style Makefiles.
      
      This commit was created as follows:
      
      [1] Edit "default n" to "default y" in the config entry in
          common/Kconfig.
      
      [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
      
      [3] Rename the instances in defconfigs by the following:
        find . -path './configs/*_defconfig' | xargs sed -i \
        -e '/CONFIG_SYS_NO_FLASH=y/d' \
        -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'
      
      [4] Change the conditionals by the following:
        find . -name '*.[ch]' | xargs sed -i \
        -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
        -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
        -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
        -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'
      
      [5] Modify the following manually
        - Rename the rest of instances
        - Remove the description from README
        - Create the new Kconfig entry in drivers/mtd/Kconfig
        - Remove the old Kconfig entry from common/Kconfig
        - Remove the garbage comments from include/configs/*.h
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  3. 28 1月, 2017 1 次提交
  4. 24 1月, 2017 1 次提交
  5. 22 1月, 2017 1 次提交
  6. 30 12月, 2016 2 次提交
  7. 03 12月, 2016 1 次提交
  8. 24 11月, 2016 1 次提交
  9. 24 10月, 2016 1 次提交
  10. 17 9月, 2016 1 次提交
  11. 09 9月, 2016 1 次提交
  12. 05 8月, 2016 1 次提交
    • M
      treewide: move CONFIG_PHYS_64BIT to Kconfig · bb6b142f
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reported-by: NRavi Babu <ravibabu@ti.com>
      Acked-by: NStefan Roese <sr@denx.de>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NYork Sun <york.sun@nxp.com>
      bb6b142f
  13. 17 6月, 2016 1 次提交
  14. 26 4月, 2016 3 次提交
  15. 15 3月, 2016 3 次提交
    • S
      Kconfig: Move CONFIG_FIT and related options to Kconfig · 73223f0e
      Simon Glass 提交于
      There are already two FIT options in Kconfig but the CONFIG options are
      still in the header files. We need to do a proper move to fix this.
      
      Move these options to Kconfig and tidy up board configuration:
      
         CONFIG_FIT
         CONFIG_OF_BOARD_SETUP
         CONFIG_OF_SYSTEM_SETUP
         CONFIG_FIT_SIGNATURE
         CONFIG_FIT_BEST_MATCH
         CONFIG_FIT_VERBOSE
         CONFIG_OF_STDOUT_VIA_ALIAS
         CONFIG_RSA
      
      Unfortunately the first one is a little complicated. We need to make sure
      this option is not enabled in SPL by this change. Also this option is
      enabled automatically in the host builds by defining CONFIG_FIT in the
      image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
      be used in files that are built on the host but must also build for U-Boot
      and SPL.
      
      Note: Masahiro's moveconfig.py script is amazing.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      [trini: Add microblaze change, various configs/ re-applies]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      73223f0e
    • S
      Move CONFIG_OF_LIBFDT to Kconfig · 69e173eb
      Simon Glass 提交于
      Move this option to Kconfig and tidy up existing boards.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      69e173eb
    • S
      freescale: Remove CONFIG_DM from header files · 9e971632
      Simon Glass 提交于
      Kconfig options must defined in the defconfig files. Since RSA_SOFTWARE_EXP
      relies on CONFIG_DM, unless it is set in kconfig we cannot enable RSA.
      Remove the hacks which enable CONFIG_DM in header files and update the
      defconfig.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      9e971632
  16. 25 11月, 2015 2 次提交
  17. 22 11月, 2015 1 次提交
  18. 22 8月, 2015 1 次提交
  19. 26 6月, 2015 2 次提交
  20. 01 6月, 2015 2 次提交
  21. 13 5月, 2015 1 次提交
  22. 17 1月, 2015 1 次提交
  23. 30 7月, 2014 1 次提交
    • M
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      dd84058d