]> git.karo-electronics.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:55 +0000 (08:35 +0200)
commit40e363c0763b3774a9778cda6db62d971b7cff58
tree1f0410ff76cf62e594ea5c3e7ca721a1aef2af86
parent6651a5b8a586e726e05642840224d2b932913ddf
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