1. 16 Sep, 2016 11 commits
    • Simon Glass's avatar
      Move existing use of CONFIG_SPL_RSA to Kconfig · d3c1f467
      Simon Glass authored
      A few boards define this in a header file which is incorrect. It means that
      Kconfig options that rely on this cannot be used. Move it.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      d3c1f467
    • Simon Glass's avatar
      Move existing use of CONFIG_SPL_DM to Kconfig · 3433a693
      Simon Glass authored
      A few boards define this in a header file which is incorrect. It means that
      Kconfig options that rely on this cannot be used. Move it.
      
      Note that quite a few boards defined this options but do not appear to
      actually use SPL:
      
      	BSC9132QDS_NOR_DDRCLK100_SECURE
      	BSC9132QDS_NOR_DDRCLK133_SECURE
      	BSC9132QDS_SDCARD_DDRCLK100_SECURE
      	BSC9132QDS_SDCARD_DDRCLK133_SECURE
      	BSC9132QDS_SPIFLASH_DDRCLK100_SECURE
      	BSC9132QDS_SPIFLASH_DDRCLK133_SECURE
      	C29XPCIE_NOR_SECBOOT
      	P1010RDB-PA_36BIT_NAND_SECBOOT
      	P1010RDB-PA_36BIT_SPIFLASH_SECBOOT
      	P1010RDB-PA_NAND_SECBOOT
      	P1010RDB-PA_NOR_SECBOOT
      	P1010RDB-PB_36BIT_NOR_SECBOOT
      	P1010RDB-PB_36BIT_SPIFLASH_SECBOOT
      	P1010RDB-PB_NAND_SECBOOT
      	P1010RDB-PB_NOR_SECBOOT
      	P3041DS_SECURE_BOOT
      	P4080DS_SECURE_BOOT
      	P5020DS_NAND_SECURE_BOOT
      	P5040DS_SECURE_BOOT
      	T1023RDB_SECURE_BOOT
      	T1024QDS_DDR4_SECURE_BOOT
      	T1024QDS_SECURE_BOOT
      	T1024RDB_SECURE_BOOT
      	T1040RDB_SECURE_BOOT
      	T1042D4RDB_SECURE_BOOT
      	T1042RDB_SECURE_BOOT
      	T2080QDS_SECURE_BOOT
      	T2080RDB_SECURE_BOOT
      	T4160QDS_SECURE_BOOT
      	T4240QDS_SECURE_BOOT
      	ls1021aqds_nor_SECURE_BOOT
      	ls1021atwr_nor_SECURE_BOOT
      	ls1043ardb_SECURE_BOOT
      
      For these boards CONFIG_SPL_DM will no-longer be defined in SPL. But since
      they apparently don't have an SPL, this should not matter.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      3433a693
    • Simon Glass's avatar
      Kconfig: tpl: Add some TPL support options to Kconfig · f73329ee
      Simon Glass authored
      Some of the SPL options have TPL equivalents. Add these to Kconfig so that
      we can convert these options over to work from Kconfig.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      f73329ee
    • Simon Glass's avatar
      Kconfig: spl: Add SPL support options to Kconfig · 11bde1cd
      Simon Glass authored
      There are a lot of SPL options in U-Boot to enable various features and
      drivers. Currently these do not use Kconfig. Add them to Kconfig along
      with suitable help, and drop them from the README.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      11bde1cd
    • Simon Glass's avatar
      Use separate options for TPL support · 76f1f388
      Simon Glass authored
      At present TPL uses the same options as SPL support. In a few cases the board
      config enables or disables the SPL options depending on whether
      CONFIG_TPL_BUILD is defined.
      
      With the move to Kconfig, options are determined for the whole build and
      (without a hack like an #undef in a header file) cannot be controlled in this
      way.
      
      Create new TPL options for these and update users. This will allow Kconfig
      conversion to proceed for these boards.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      76f1f388
    • Simon Glass's avatar
      Drop CONFIG_SPL_RAM_SUPPORT · 218d0d5b
      Simon Glass authored
      This option does not exist in U-Boot. Drop it.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      218d0d5b
    • Simon Glass's avatar
      arm: fsl: Adjust ordering of #ifndef CONFIG_SPL_BUILD · b63f8a43
      Simon Glass authored
      The secure boot header files incorrectly define SPL options only if
      CONFIG_SPL_BUILD is defined. This means that the options are only enabled
      in an SPL build, and not with a normal 'make xxx_defconfig'. This means
      that moveconfig.py cannot work, since it sees the options as disabled even
      when they may be manually enabled in an SPL build.
      
      Fix this by changing the order.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      b63f8a43
    • Simon Glass's avatar
      Kconfig: Move SPL settings into their own file · c2ae7d82
      Simon Glass authored
      Move the SPL settings into common/spl where most of the SPL code is kept.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      c2ae7d82
    • Simon Glass's avatar
      moveconfig: Add an option to commit changes · 9ede2123
      Simon Glass authored
      The moveconfig tool is quite clever and generally produces results that
      are suitable for sending as a patch without further work. The main required
      step is to add the changes to a commit.
      
      Add an option to do this automatically. This allows moveconfig to be used
      from a script to convert multiple CONFIG options, once per commit.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      9ede2123
    • Simon Glass's avatar
      moveconfig: Add an option to skip prompts · 6b403dfd
      Simon Glass authored
      At present it is not easy to use moveconfig from a script since it asks
      for user input a few times. Add a -y option to skip this and assume that
      'y' was entered.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      6b403dfd
    • Simon Glass's avatar
      Correct defconfigs using savedefconfig · 14476dde
      Simon Glass authored
      Update the defconfig files to match their canonical form, as produced by
      'make safedefconfig'.
      
      This is the result of running 'tools/moveconfig.py -s' on the tree.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      14476dde
  2. 13 Sep, 2016 4 commits
  3. 12 Sep, 2016 2 commits
  4. 09 Sep, 2016 9 commits
  5. 07 Sep, 2016 14 commits