Kumar Gala
a09b9b68d4
powerpc/8xxx: Refactor SRIO initialization into common code
...
Moved the SRIO init out of corenet_ds and into common code for
8xxx/QorIQ processors that have SRIO. We mimic what we do with PCIe
controllers for SRIO.
We utilize the fact that SRIO is over serdes to determine if its
configured or not and thus can setup the LAWs needed for it dynamically.
We additionally update the device tree (to remove the SRIO nodes) if the
board doesn't have SRIO enabled.
Introduced the following standard defines for board config.h:
CONFIG_SYS_SRIO - Chip has SRIO or not
CONFIG_SRIO1 - Board has SRIO 1 port available
CONFIG_SRIO2 - Board has SRIO 2 port available
(where 'n' is the port #)
CONFIG_SYS_SRIOn_MEM_VIRT - virtual address in u-boot
CONFIG_SYS_SRIOn_MEM_PHYS - physical address (for law setup)
CONFIG_SYS_SRIOn_MEM_SIZE - size of window (for law setup)
[ These mimic what we have for PCI and PCIe controllers ]
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Wolfgang Denk <wd@denx.de>
2011-01-14 01:32:21 -06:00
..
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2011-01-09 18:06:50 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2011-01-10 12:50:29 +01:00
2010-12-09 10:27:41 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-08 23:46:36 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-12-09 10:25:56 +01:00
2010-12-07 22:08:06 +01:00
2010-10-18 22:12:04 +02:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-28 21:45:32 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:12 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-12-09 10:25:56 +01:00
2010-12-09 10:25:56 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:09 +01:00
2010-11-17 21:02:18 +01:00
2011-01-09 18:06:50 +01:00
2011-01-09 18:06:50 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-26 22:08:19 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:24:12 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-28 21:47:24 +01:00
2010-12-17 20:02:05 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-12-09 10:27:41 +01:00
2010-12-21 11:33:36 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2011-01-09 18:06:50 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2011-01-14 01:32:21 -06:00
2010-11-28 21:47:24 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:14 +01:00
2010-11-27 23:35:10 +01:00
2010-12-09 10:25:56 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:27:41 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-21 11:33:36 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:12 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-27 23:35:09 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-12-21 11:33:36 +01:00
2010-12-21 11:33:36 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-12-17 09:43:45 +01:00
2010-11-17 21:02:18 +01:00
2011-01-09 18:06:50 +01:00
2011-01-09 18:06:50 +01:00
2010-12-09 10:27:41 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:27:41 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:27:41 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-12-21 11:33:36 +01:00
2010-12-21 11:33:36 +01:00
2010-12-21 11:33:36 +01:00
2010-12-21 11:33:36 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:12 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2011-01-09 18:06:50 +01:00
2010-11-27 23:35:09 +01:00
2010-11-17 21:02:18 +01:00
2011-01-09 18:06:50 +01:00
2011-01-09 18:06:50 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-12-21 11:33:36 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-21 11:33:36 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:12 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-12-09 10:25:56 +01:00
2010-11-28 21:45:32 +01:00
2010-12-17 20:26:19 +01:00
2010-12-09 10:25:56 +01:00
2011-01-09 18:06:50 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-12-21 11:33:36 +01:00
2010-11-27 23:35:10 +01:00
2010-12-16 22:46:05 +01:00
2010-11-27 23:35:10 +01:00
2010-11-27 23:35:10 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-12-09 10:27:41 +01:00
2010-11-28 21:47:24 +01:00
2010-12-22 21:16:17 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:12 +01:00
2010-11-27 23:35:09 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2011-01-14 01:32:21 -06:00
2011-01-14 01:32:19 -06:00
2011-01-14 01:32:21 -06:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-26 21:12:52 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2011-01-11 21:08:43 +09:00
2010-12-09 10:25:56 +01:00
2010-11-27 23:35:10 +01:00
2010-11-27 23:35:10 +01:00
2011-01-14 01:32:19 -06:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2011-01-14 01:32:19 -06:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-17 09:43:23 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-22 21:16:17 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2011-01-14 01:32:20 -06:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-27 23:35:10 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-12-09 10:25:56 +01:00
2010-11-17 21:02:18 +01:00
2011-01-14 01:32:20 -06:00
2011-01-11 10:58:55 +01:00
2010-11-17 21:02:18 +01:00
2010-11-28 21:47:24 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00
2010-11-17 21:02:18 +01:00