ram: Kconfig: RAMDISK_RO requires rkparam partition

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I166450ab0d406d2a452afb137c57511def54760c
This commit is contained in:
Joseph Chen 2020-04-26 14:41:23 +08:00
parent a5373663e8
commit aedeb70ba0
2 changed files with 4 additions and 1 deletions

View File

@ -43,7 +43,7 @@ config DM_RAMDISK
config RAMDISK_RO config RAMDISK_RO
bool "Enable read only ramdisk support" bool "Enable read only ramdisk support"
depends on DM_RAMDISK depends on DM_RAMDISK && RKPARM_PARTITION
help help
This enables the read only ramdisk support. This enables the read only ramdisk support.

View File

@ -10,5 +10,8 @@ obj-$(CONFIG_STM32_SDRAM) += stm32_sdram.o
obj-$(CONFIG_ARCH_BMIPS) += bmips_ram.o obj-$(CONFIG_ARCH_BMIPS) += bmips_ram.o
obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/
ifndef CONFIG_SPL_BUILD
obj-$(CONFIG_DM_RAMDISK) += ramdisk-uclass.o obj-$(CONFIG_DM_RAMDISK) += ramdisk-uclass.o
obj-$(CONFIG_RAMDISK_RO) += ramdisk_ro.o obj-$(CONFIG_RAMDISK_RO) += ramdisk_ro.o
endif