Cannot enable SPI_STM32 in Kernel using menuconfig (conflicting information in WikiI)
I would like to understand why I cannot find and enable STM32 SPI support in the Linux kernel and resolve conflicting information in the Wiki articles I am using.
When I use menuconfig, I cannot locate STM32 SPI support in the menu. If I use the search option (/) I can see the reasons are that SPI_STM32 depends on ARCH_STM32 which is set to [N]. In addition, ARCH_STM32 depends on ARM_SINGLE_ARMV7M which is also set to [N].
Are there any other parameters I should be adding to the invocation of 'make menuconfig'?
Any ideas why these variables are not set correctly and how to resolve the issue?
I suspected something about my environment. I am using the Developer Package and running the following to setup the terminal environment:
source /opt/st/stm32mp1/3.1-openstlinux-5.4-dunfell-mp1-20-06-24/environment-setup-cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi
I have applied the patches and fragments and not had an issue building or running the kernel or adding a device tree change from the Cube code generator.
Now, on to the Wiki conflicts.
In section 2 of the Wiki article at https://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernel
it states that the CROSS_COMPILE environment should be 'arm-openstlinux_weston-linux-gnueabi-'
In section 5.1.1 of the Wiki article at https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package
is states that the CROSS_COMPILE environment should be 'arm-ostl-linux-gnueabi-'.
I am getting 'arm-ostl-linux-gnueabi-'. Which article is correct?
