From: Nelson.Rosa.Jr.05@Alum.Dartmouth.ORG (N. R. Jr 05) - 2006-02-24 14:19:37
|
Hi, I've been trying to follow the threads on getting SPI to work, but I can't figure out how to enable the PXA_SSP option needed to get my files to compile. Thanks, NR |
From: Dave H. <dhy...@gm...> - 2006-02-24 14:48:00
|
Hi NR, > I've been trying to follow the threads on getting SPI to > work, but I can't figure out how to enable the PXA_SSP > option needed to get my files to compile. So the kernel has these configuration files, normally called Kconfig. As a driver writer, you would normally add an entry into this file for your new driver. If you wanted to arbitrarily enable PXA_SSP for a gumstix, then I would edit the build_arm_nofpu/linux-2.6.15gum/arch/arm/Kconfig file, find the following entry config ARCH_GUMSTIX bool "Gumstix Platform" depends on ARCH_PXA and change it to: config ARCH_GUMSTIX bool "Gumstix Platform" depends on ARCH_PXA select PXA_SSP Now, when you use "make ARCH=3Darm menuconfig", it will add the entry CONFIG_PXA_SSP=3Dy build_arm_nofpu/linux-2.6.15gum/.config file. For more infomation on the kernel configuration stuff, this files in build_arm_nofpu/linux-2.6.15gum/Documentation/kbuild would be worthwhile reading. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |