1. 13 Mar, 2017 1 commit
  2. 09 Mar, 2017 1 commit
    • Tom Rini's avatar
      Freescale/NXP: Migrate CONFIG_FSL_CAAM to defconfigs · 28522678
      Tom Rini authored
      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: default avatarTom Rini <trini@konsulko.com>
      28522678
  3. 12 Feb, 2017 1 commit
    • Masahiro Yamada's avatar
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada authored
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  4. 25 Jan, 2017 1 commit
  5. 24 Jan, 2017 1 commit
  6. 21 Jan, 2017 1 commit
  7. 05 Jan, 2017 1 commit
  8. 29 Dec, 2016 1 commit
  9. 02 Dec, 2016 1 commit
  10. 24 Nov, 2016 3 commits
  11. 23 Oct, 2016 4 commits
  12. 20 Sep, 2016 1 commit
  13. 16 Sep, 2016 13 commits
  14. 09 Sep, 2016 2 commits
  15. 21 Jul, 2016 1 commit
    • Sumit Garg's avatar
      powerpc/mpc85xx: T104x: Add nand secure boot target · aa36c84e
      Sumit Garg authored
      For mpc85xx SoCs, the core begins execution from address 0xFFFFFFFC.
      In non-secure boot scenario from NAND, this address will map to CPC
      configured as SRAM. But in case of secure boot, this default address
      always maps to IBR (Internal Boot ROM).
      The IBR code requires that the bootloader(U-boot) must lie in 0 to 3.5G
      address space i.e. 0x0 - 0xDFFFFFFF.
      
      For secure boot target from NAND, the text base for SPL is kept same as
      non-secure boot target i.e. 0xFFFx_xxxx but the SPL U-boot binary will
      be copied to CPC configured as SRAM with address in 0-3.5G(0xBFFC_0000)
      As a the virtual and physical address of CPC would be different. The
      virtual address 0xFFFx_xxxx needs to be mapped to physical address
      0xBFFx_xxxx.
      
      Create a new PBI file to configure CPC as SRAM with address 0xBFFC0000
      and update DCFG SCRTACH1 register with location of Header required for
      secure boot.
      
      The changes are similar to
      commit 467a40df
          powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041
      
      While P3041 has a 1MB CPC and does not require SPL. On T104x, CPC
      is only 256K and thus SPL framework is used.
      The changes are only applicable for SPL U-Boot running out of CPC SRAM
      and not the next level U-Boot loaded on DDR.
      Reviewed-by: default avatarRuchika Gupta <ruchika.gupta@nxp.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarAneesh Bansal <aneesh.bansal@nxp.com>
      Signed-off-by: default avatarSumit Garg <sumit.garg@nxp.com>
      Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
      aa36c84e
  16. 09 Jun, 2016 1 commit
  17. 25 Apr, 2016 3 commits
  18. 14 Mar, 2016 2 commits
    • Simon Glass's avatar
      Kconfig: Move CONFIG_FIT and related options to Kconfig · 73223f0e
      Simon Glass authored
      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: default avatarSimon Glass <sjg@chromium.org>
      [trini: Add microblaze change, various configs/ re-applies]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      73223f0e
    • Simon Glass's avatar
      Move CONFIG_OF_LIBFDT to Kconfig · 69e173eb
      Simon Glass authored
      Move this option to Kconfig and tidy up existing boards.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      69e173eb
  19. 25 Nov, 2015 1 commit