camera rk30 : use ion mem for default.

This commit is contained in:
root
2012-04-06 16:49:17 +08:00
parent 05cd85584b
commit e4322d512d
2 changed files with 1 additions and 6 deletions

1
arch/arm/configs/rk30_sdk_defconfig Executable file → Normal file
View File

@@ -265,6 +265,7 @@ CONFIG_SOC_CAMERA=y
CONFIG_SOC_CAMERA_OV2659=y
CONFIG_SOC_CAMERA_OV5642=y
CONFIG_VIDEO_RK29=y
CONFIG_VIDEO_RK29_CAMMEM_ION=y
CONFIG_ION=y
CONFIG_ION_ROCKCHIP=y
CONFIG_FB=y

View File

@@ -251,14 +251,8 @@
#ifdef CONFIG_VIDEO_RK29_CAMMEM_ION
#ifdef CONFIG_ARCH_RK29
#undef PMEM_CAM_NECESSARY
#define PMEM_CAM_NECESSARY 0x00000000
#endif
#else
#ifdef CONFIG_ARCH_RK30
// #error "Camera driver memory configuration is alloc from pmem, but ARCH_RK30 isn't support"
#endif
#endif