mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
c9ee94965d
The rnga platform device is initialized for all imx31 machines from its own initcall, but is never initialized anywhere else. This moves the platform device creation into both the imx31 dt and non-dt machine init sequences, which has basically the exact same effect as before, but makes it more obvious what is going on, while reducing the amount of code and removing the last user of cpu_is_mx31(). Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
71 lines
1020 B
Plaintext
71 lines
1020 B
Plaintext
config IMX_HAVE_PLATFORM_FEC
|
|
bool
|
|
default y if SOC_IMX25 || SOC_IMX27 || SOC_IMX35
|
|
|
|
config IMX_HAVE_PLATFORM_FLEXCAN
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_GPIO_KEYS
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_IMX21_HCD
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_IMX27_CODA
|
|
bool
|
|
default y if SOC_IMX27
|
|
|
|
config IMX_HAVE_PLATFORM_IMX2_WDT
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_IMX_FB
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_IMX_I2C
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_IMX_KEYPAD
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_PATA_IMX
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_IMX_SSI
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_IMX_UART
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_IPU_CORE
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_MX2_CAMERA
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_MX2_EMMA
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_MXC_EHCI
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_MXC_MMC
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_MXC_NAND
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_MXC_RTC
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_MXC_W1
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
bool
|
|
|
|
config IMX_HAVE_PLATFORM_SPI_IMX
|
|
bool
|