1. 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: 's avatarTom Rini <trini@konsulko.com>
      28522678
  2. 08 Mar, 2017 1 commit
    • Adam Ford's avatar
      omap3_logic: Move SPL Stack into SDRAM · ae29c3d4
      Adam Ford authored
      A previous patch broke the board. This patch will add missing part
      from the previous patch and also move the SPL Stack into SDRAM at
      0x82000000.
      
      Tested with GCC 4.8.2 and GCC 6.2
      
      Fixes: 0959649d ("omap3_logic: Switch to simple malloco in SPL")
      Signed-off-by: 's avatarAdam Ford <aford173@gmail.com>
      
      Changes in V2:
        - Keep CONFIG_SPL_SYS_MALLOC_SIMPLE
        - Add CONFIG_SYS_MALLOC_F_LEN=0x2000 (8 MB)
      ae29c3d4
  3. 22 Feb, 2017 5 commits
  4. 19 Feb, 2017 1 commit
  5. 18 Feb, 2017 1 commit
  6. 17 Feb, 2017 1 commit
  7. 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: 's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  8. 10 Feb, 2017 3 commits
  9. 09 Feb, 2017 6 commits
  10. 08 Feb, 2017 4 commits
  11. 07 Feb, 2017 3 commits
    • Bin Meng's avatar
      x86: qemu: Add a config for 64-bit U-Boot · bda40d56
      Bin Meng authored
      Add a new board config which uses 64-bit U-Boot. Supported features
      are the same as the other 64-bit board (Google Chromebook Link).
      It is a start for us to test 64-bit U-Boot easily without the need
      to access a real hardware.
      
      Note CONFIG_SPL_ENV_SUPPORT is required for QEMU 64-bit as without
      this the SPL build fails at the end. This is just a workaround as
      CONFIG_SPL_ENV_SUPPORT is not needed at all.
      
      common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
      lib/built-in.o: In function `hsearch_r':
      lib/hashtable.c:380: undefined reference to 'env_callback_init'
      lib/hashtable.c:382: undefined reference to 'env_flags_init'
      make[1]: *** [spl/u-boot-spl] Error 1
      
      Except those SPL options required by 64-bit, compared to 32-bit
      config, the following options are different:
      
      - CONFIG_SYS_MALLOC_F_LEN has to be increased to 0x1000 for SPL.
      - CONFIG_DEBUG_UART has to be included due to the weird issue.
        See TODO comments in arch/x86/cpu/x86_64/cpu.c:arch_setup_gd().
        Once this issue gets fixed, debug uart can be optional.
      Signed-off-by: 's avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: 's avatarSimon Glass <sjg@chromium.org>
      bda40d56
    • Simon Glass's avatar
      x86: link: Add a config for 64-bit U-Boot · fda4eb48
      Simon Glass authored
      Add a new board config which uses 64-bit U-Boot. This is not fully
      functional but is it a start. Missing features:
      
      - SDRAM sizing
      - Booting linux
      - EFI support
      - SCSI device init
      (and others)
      Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: 's avatarBin Meng <bmeng.cn@gmail.com>
      fda4eb48
    • Simon Glass's avatar
      x86: link: Set up device tree for SPL · 6935dc1b
      Simon Glass authored
      Add the correct pre-relocation tag so that the required device tree nodes
      are present in the SPL device tree.
      
      On x86 it doesn't make a lot of sense to have a separate SPL device tree.
      Since everything is in the same ROM we might as well just use the main
      device tree in both SPL and U-Boot proper. But we haven't implemented that,
      so this is a good first step.
      Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: 's avatarBin Meng <bmeng.cn@gmail.com>
      6935dc1b
  12. 03 Feb, 2017 1 commit
  13. 31 Jan, 2017 7 commits
  14. 30 Jan, 2017 1 commit
  15. 28 Jan, 2017 4 commits