u-boot/drivers
Kumar Gala ad19e7a5d2 pci/fsl_pci_init: Rework PCI ATMU setup to handle >4G of memory
The old PCI ATMU setup code would just mimic the PCI regions into the
ATMU registers.  For simple memory maps in which all memory, MMIO, etc
space fit into 4G this works ok.  However there are issues with we have
>4G of memory as we know can't access all of memory and we need to
ensure that PCICSRBAR (PEXCSRBAR on PCIe) isn't overlapping with
anything since we can't turn it off.

We first setup outbound windows based on what the board code setup
in the pci regions for MMIO and IO access.  Next we place PCICSRBAR
below the MMIO window.  After which we try to setup the inbound windows
to map as much of memory as possible.

On PCIe based controllers we are able to overmap the ATMU setup since
RX & TX links are separate but report the proper amount of inbound
address space to the region tracking to ensure there is no overlap.

On PCI based controllers we use as many inbound windows as available to
map as much of the memory as possible.

Additionally we changed all the CCSR register access to use proper IO
accessor functions.  Also had to add CONFIG_SYS_CCSRBAR_PHYS to some
86xx platforms that didn't have it defined.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2009-08-28 17:12:36 -05:00
..
bios_emulator Update Freescale copyrights to remove "All Rights Reserved" 2009-07-29 09:59:22 +02:00
block Update Freescale copyrights to remove "All Rights Reserved" 2009-07-29 09:59:22 +02:00
dma ColdFire: Fix compile warning messages 2009-08-26 03:44:31 -05:00
fpga fpga: Fix Spartan III FPGA booting 2009-02-21 22:52:44 +01:00
gpio Kirkwood: add Marvell Kirkwood gpio driver 2009-07-23 00:19:28 +02:00
hwmon dtt, lm81: move unneccessary printf into a debug printf 2009-08-11 21:59:08 +02:00
i2c Minor coding style cleanup. 2009-08-10 10:38:34 +02:00
input stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
misc OMAP3 Move twl4030 power and led functions 2009-07-29 09:57:30 +02:00
mmc Minor coding style cleanup. 2009-08-10 10:38:34 +02:00
mtd NAND: DaVinci: V2 Adding 4 BIT ECC support 2009-08-26 15:37:03 -05:00
net net: tsec - handle user interrupt while waiting for PHY auto negotiation to complete 2009-08-25 13:35:55 -07:00
pci pci/fsl_pci_init: Rework PCI ATMU setup to handle >4G of memory 2009-08-28 17:12:36 -05:00
pcmcia mpc8xx_pcmcia: move CONFIG_8xx out of .c file and into Makefile 2009-02-18 00:51:21 +01:00
power OMAP3 Move twl4030 mmc function 2009-07-29 09:57:43 +02:00
qe UEC FIXED PHY: Determine fixed-phy port using UEC interface name. 2009-08-10 16:07:54 -07:00
rtc Add driver for the ST M41T94 SPI RTC 2009-08-25 12:57:55 +02:00
serial stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
spi Coldfire: Consolidate DSPI driver 2009-07-14 09:46:09 -05:00
twserial drivers/twserial: Add protocol driver for "three wire serial" interface. 2009-03-30 09:38:36 +02:00
usb usb: bugfix driver/usb/host/ehci-hcd.c function ehci_submit_root 2009-07-23 23:27:06 +02:00
video bus_vcxk.c: fix warning: unused variable 'lineptr' 2009-08-09 22:49:16 +02:00
watchdog at91sam9: add watchdog support 2009-04-04 20:42:19 +02:00