brcm2708: boot-part feature integration
[openwrt/openwrt.git] / config / Config-images.in
index 76e64641b414c027930c01d25c393c6cd0731d55..a0c7b7a94db9298e642a132cf0020851dc7d418e 100644 (file)
@@ -268,12 +268,14 @@ menu "Target Images"
 
        config TARGET_KERNEL_PARTSIZE
                int "Kernel partition size (in MB)"
-               depends on GRUB_IMAGES
+               depends on GRUB_IMAGES || USES_BOOT_PART
+               default 8 if TARGET_apm821xx_sata
+               default 20 if TARGET_brcm2708
                default 16
 
        config TARGET_ROOTFS_PARTSIZE
                int "Root filesystem partition size (in MB)"
-               depends on GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532 || TARGET_mvebu || TARGET_uml
+               depends on GRUB_IMAGES || USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_mvebu || TARGET_rb532 || TARGET_sunxi || TARGET_uml
                default 256
                help
                  Select the root filesystem partition size.