Revision 4cff33f94fefcce1b3c01a9d1da6bb85fe3cbdfa authored by Imre Deak on 17 February 2006, 18:02:18 UTC, committed by Greg Kroah-Hartman on 16 May 2006, 21:33:56 UTC
Some protocols (like one for some bitmap displays) require different clock
speed or word size settings for each transfer in an SPI message. This adds
those parameters to struct spi_transfer.  They are to be used when they are
nonzero; otherwise the defaults from spi_device are to be used.

The patch also adds a setup_transfer callback to spi_bitbang, uses it for
messages that use those overrides, and implements it so that the pure
bitbanging code can help resolve any questions about how it should work.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 716f895
Raw File
Kconfig.i386
menu "Host processor type and features"

source "arch/i386/Kconfig.cpu"

endmenu

config UML_X86
	bool
	default y

config 64BIT
	bool
	default n

config SEMAPHORE_SLEEPERS
	bool
	default y

config HOST_2G_2G
	bool "2G/2G host address space split"
	default n
	help
	This is needed when the host on which you run has a 2G/2G memory
	split, instead of the customary 3G/1G.

	Note that to enable such a host
	configuration, which makes sense only in some cases, you need special
	host patches.

	So, if you do not know what to do here, say 'N'.

config TOP_ADDR
 	hex
 	default 0xc0000000 if !HOST_2G_2G
 	default 0x80000000 if HOST_2G_2G

config 3_LEVEL_PGTABLES
	bool "Three-level pagetables (EXPERIMENTAL)"
	default n
	depends on EXPERIMENTAL
	help
	Three-level pagetables will let UML have more than 4G of physical
	memory.  All the memory that can't be mapped directly will be treated
	as high memory.

	However, this it experimental on 32-bit architectures, so if unsure say
	N (on x86-64 it's automatically enabled, instead, as it's safe there).

config STUB_CODE
	hex
	default 0xbfffe000 if !HOST_2G_2G
	default 0x7fffe000 if HOST_2G_2G

config STUB_DATA
	hex
	default 0xbffff000 if !HOST_2G_2G
	default 0x7ffff000 if HOST_2G_2G

config STUB_START
	hex
	default STUB_CODE

config ARCH_HAS_SC_SIGNALS
	bool
	default y

config ARCH_REUSE_HOST_VSYSCALL_AREA
	bool
	default y

config GENERIC_HWEIGHT
	bool
	default y

back to top