WSL2-Linux-Kernel/arch/arm
Haavard Skinnemoen 75d3521377 [PATCH] atmel_serial: Pass fixed register mappings through platform_data
In order to initialize the serial console early, the atmel_serial
driver had to do a hack where it compared the physical address of the
port with an address known to be permanently mapped, and used it as a
virtual address. This got around the limitation that ioremap() isn't
always available when the console is being initalized.

This patch removes that hack and replaces it with a new "regs" field
in struct atmel_uart_data that the board-specific code can initialize
to a fixed virtual mapping for platform devices where this is possible.
It also initializes the DBGU's regs field with the address the driver
used to check against.

On AVR32, the "regs" field is initialized from the physical base
address when this it can be accessed through a permanently 1:1 mapped
segment, i.e. the P4 segment.

If regs is NULL, the console initialization is delayed until the "real"
driver is up and running and ioremap() can be used.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Acked-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-04 10:25:05 -07:00
..
boot fix file specification in comments 2006-10-03 23:01:26 +02:00
common fix file specification in comments 2006-10-03 23:01:26 +02:00
configs [PATCH] at91_serial -> atmel_serial: Kconfig symbols 2006-10-04 10:25:05 -07:00
kernel Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mach-aaec2000 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-at91rm9200 [PATCH] atmel_serial: Pass fixed register mappings through platform_data 2006-10-04 10:25:05 -07:00
mach-clps711x [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-clps7500 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ebsa110 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ep93xx Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
mach-footbridge [ARM] 3759/2: Remove uses of %? 2006-09-20 14:58:35 +01:00
mach-h720x [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-imx fix file specification in comments 2006-10-03 23:01:26 +02:00
mach-integrator [ARM] Add Integrator support for glibc outb() and friends 2006-08-28 12:47:05 +01:00
mach-iop32x [ARM] 3851/1: iop3xx: add io-data glantank support 2006-09-25 10:34:02 +01:00
mach-iop33x [ARM] 3832/1: iop3xx: coding style cleanup 2006-09-25 10:25:53 +01:00
mach-ixp4xx fix file specification in comments 2006-10-03 23:01:26 +02:00
mach-ixp23xx [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-ixp2000 [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-l7200 [ARM] 3684/1: ARM: Convert l7200 to generic irq handling 2006-07-01 22:32:19 +01:00
mach-lh7a40x Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
mach-netx [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-omap1 fix file specification in comments 2006-10-03 23:01:26 +02:00
mach-omap2 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
mach-pnx4008 Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
mach-pxa Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
mach-realview [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-rpc [PATCH] ARM: fixup irqflags breakage after ARM genirq merge 2006-07-02 17:29:22 -07:00
mach-s3c2410 fix file specification in comments 2006-10-03 23:01:26 +02:00
mach-sa1100 fix file specification in comments 2006-10-03 23:01:26 +02:00
mach-shark fix file specification in comments 2006-10-03 23:01:26 +02:00
mach-versatile [ARM] 3860/1: Versatile PCI config byte accesses 2006-09-27 09:35:07 +01:00
mm Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-10-03 09:14:00 -07:00
nwfpe [ARM] 3729/3: EABI padding rules necessitate the packed attribute of floatx80 2006-07-13 13:04:24 +01:00
oprofile [ARM] 3880/1: remove the last trace of iop31x support 2006-09-30 11:30:47 +01:00
plat-iop [ARM] 3832/1: iop3xx: coding style cleanup 2006-09-25 10:25:53 +01:00
plat-omap fix file specification in comments 2006-10-03 23:01:26 +02:00
tools Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
vfp [PATCH] arm build fail: vfpsingle.c 2006-10-03 08:04:20 -07:00
Kconfig Fix "can not" in Documentation and Kconfig 2006-10-03 22:53:09 +02:00
Kconfig-nommu [ARM] nommu: manage the CP15 things 2006-09-27 17:34:30 +01:00
Kconfig.debug [ARM] Trivial typo fixes 2006-06-04 21:22:11 +01:00
Makefile [ARM] nommu: add ARM946E-S core support 2006-09-27 17:39:19 +01:00