patrykk / linux-udoo

Udoo Linux Kernel
Other
29 stars 6 forks source link

Dependency on CONFIG_ARM_IMX6Q_CPUFREQ missing #13

Closed chusopr closed 9 years ago

chusopr commented 9 years ago

The following CONFIG flags should depend on CONFIG_ARM_IMX6Q_CPUFREQ=y:

CONFIG_FB_MXC_EINK_PANEL
CONFIG_MXC_GPU_VIV
CONFIG_MXC_IPU_V3
CONFIG_MXC_PXP_V2
CONFIG_MXC_VPU
CONFIG_VIDEO_MXC_CSI_CAMERA

If CONFIG_ARM_IMX6Q_CPUFREQ is disabled or configured as module:

drivers/built-in.o: In function `mxc_epdc_fb_runtime_resume':
:(.text+0x3f1e8): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `mxc_epdc_fb_runtime_suspend':
:(.text+0x3f1fc): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `pxp_clk_enable':
:(.text+0x479cc): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `pxp_clk_disable':
:(.text+0x47adc): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `gpu_runtime_resume':
:(.text+0x1b04e8): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `gpu_runtime_suspend':
:(.text+0x1b04fc): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ipu_runtime_suspend':
:(.text+0x1d1134): undefined reference to `release_bus_freq'
drivers/built-in.o: In function `ipu_runtime_resume':
:(.text+0x1d1148): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `vpu_runtime_resume':
:(.text+0x1e3100): undefined reference to `request_bus_freq'
drivers/built-in.o: In function `vpu_runtime_suspend':
:(.text+0x1e3114): undefined reference to `release_bus_freq'
Makefile:933: recipe for target 'vmlinux' failed

Setting CONFIG_ARM_IMX6Q_CPUFREQ to y fixes this.

patrykk commented 9 years ago

It came with freescale source code. I'll resolve it later.