[U-Boot] [PATCH v2 1/2] Convert CONFIG_SPL_RAM_DEVICE to defconfig

Tom Rini trini at konsulko.com
Wed Dec 21 14:01:31 CET 2016


On Tue, Dec 20, 2016 at 05:54:58PM +0100, Stefan Agner wrote:
> From: Stefan Agner <stefan.agner at toradex.com>
> 
> This converts the following to Kconfig:
>   CONFIG_SPL_RAM_DEVICE
> 
> Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
> ---
> 
> Changes in v2: None
> 
>  common/spl/Kconfig                     | 8 ++++++++
>  configs/apalis_t30_defconfig           | 1 +
>  configs/beaver_defconfig               | 1 +
>  configs/cardhu_defconfig               | 1 +
>  configs/cei-tk1-som_defconfig          | 1 +
>  configs/colibri_t20_defconfig          | 1 +
>  configs/colibri_t30_defconfig          | 1 +
>  configs/dalmore_defconfig              | 1 +
>  configs/harmony_defconfig              | 1 +
>  configs/jetson-tk1_defconfig           | 1 +
>  configs/medcom-wide_defconfig          | 1 +
>  configs/nyan-big_defconfig             | 1 +
>  configs/paz00_defconfig                | 1 +
>  configs/plutux_defconfig               | 1 +
>  configs/seaboard_defconfig             | 1 +
>  configs/socfpga_arria5_defconfig       | 1 +
>  configs/socfpga_cyclone5_defconfig     | 1 +
>  configs/socfpga_de0_nano_soc_defconfig | 1 +
>  configs/socfpga_de1_soc_defconfig      | 1 +
>  configs/socfpga_is1_defconfig          | 1 +
>  configs/socfpga_mcvevk_defconfig       | 1 +
>  configs/socfpga_sockit_defconfig       | 1 +
>  configs/socfpga_socrates_defconfig     | 1 +
>  configs/socfpga_sr1500_defconfig       | 1 +
>  configs/socfpga_vining_fpga_defconfig  | 1 +
>  configs/tec-ng_defconfig               | 1 +
>  configs/tec_defconfig                  | 1 +
>  configs/topic_miami_defconfig          | 1 +
>  configs/topic_miamiplus_defconfig      | 1 +
>  configs/trimslice_defconfig            | 1 +
>  configs/venice2_defconfig              | 1 +
>  configs/ventana_defconfig              | 1 +
>  configs/whistler_defconfig             | 1 +
>  configs/zynq_microzed_defconfig        | 1 +
>  configs/zynq_picozed_defconfig         | 1 +
>  configs/zynq_zc702_defconfig           | 1 +
>  configs/zynq_zc706_defconfig           | 1 +
>  configs/zynq_zc770_xm010_defconfig     | 1 +
>  configs/zynq_zc770_xm011_defconfig     | 1 +
>  configs/zynq_zc770_xm012_defconfig     | 1 +
>  configs/zynq_zc770_xm013_defconfig     | 1 +
>  configs/zynq_zed_defconfig             | 1 +
>  configs/zynq_zybo_defconfig            | 1 +
>  include/configs/microblaze-generic.h   | 1 -
>  include/configs/socfpga_common.h       | 1 -
>  include/configs/tegra-common.h         | 1 -
>  include/configs/xilinx_zynqmp.h        | 1 -
>  include/configs/zynq-common.h          | 1 -
>  48 files changed, 50 insertions(+), 5 deletions(-)
> 
> diff --git a/common/spl/Kconfig b/common/spl/Kconfig
> index cba51f5..8f779e6 100644
> --- a/common/spl/Kconfig
> +++ b/common/spl/Kconfig
> @@ -449,6 +449,14 @@ config SPL_POWER_SUPPORT
>  	  in drivers/power, drivers/power/pmic and drivers/power/regulator
>  	  as part of an SPL build.
>  
> +config SPL_RAM_DEVICE
> +	bool "Support booting from preloaded image in RAM"
> +	depends on SPL
> +	help
> +	  Enable booting of an image already loaded in RAM. The image has to
> +	  be already in memory when SPL takes over, e.g. loaded by the boot
> +	  ROM.

We should do this as a 'default y if ...' for
microblaze/socfpga/tegra/xilinx, until we can import the 'imply' keyword
from the kernel and use that instead.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161221/49715bf6/attachment.sig>


More information about the U-Boot mailing list