]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00252418 imx6: add fuse check for available devices
authorDong Aisheng <b29396@freescale.com>
Wed, 27 Feb 2013 08:50:30 +0000 (16:50 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:13:46 +0000 (14:13 +0200)
commit5eef1b16f632eb449a73deb67a54088df2155e21
tree1c04b0c371d701f0e667a30bf06ab96b0882e3a8
parente4aba93b2382633706a1876f25a56ca1fdaf3f4d
ENGR00252418 imx6: add fuse check for available devices

Since device availability may be different on the same SoC,
so we add fuse check for the supported device before we really
adding the device to the kernel.
This may avoid kernel crash once the CPU at the slot are changed to
a different one which with different device available but the kernel is
the same one.

Reviewed-by: Jason Liu <r64343@freescale.com>
Acked-by: Jason Liu <r64343@freescale.com>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
14 files changed:
arch/arm/plat-mxc/Makefile
arch/arm/plat-mxc/devices/platform-ahci-imx.c
arch/arm/plat-mxc/devices/platform-fec.c
arch/arm/plat-mxc/devices/platform-imx-epdc-fb.c
arch/arm/plat-mxc/devices/platform-imx-hdmi-soc-dai.c
arch/arm/plat-mxc/devices/platform-imx-hdmi-soc.c
arch/arm/plat-mxc/devices/platform-imx-pcie.c
arch/arm/plat-mxc/devices/platform-imx-pxp.c
arch/arm/plat-mxc/devices/platform-imx_vpu.c
arch/arm/plat-mxc/devices/platform-mxc-hdmi-core.c
arch/arm/plat-mxc/devices/platform-mxc_hdmi.c
arch/arm/plat-mxc/devices/platform-mxc_mlb.c
arch/arm/plat-mxc/fuse.c [new file with mode: 0644]
arch/arm/plat-mxc/include/mach/mxc.h