04bea68b2f0eeebb089ecc67b618795925268b4a |
|
24-Jan-2011 |
Sebastian Andrzej Siewior <sebastian@breakpoint.cc> |
of/pci: move of_irq_map_pci() into generic code There is a tiny difference between PPC32 and PPC64. Microblaze uses the PPC32 variant. Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> [grant.likely@secretlab.ca: Added comment to #endif, moved documentation block to function implementation, fixed for non ppc and microblaze compiles] Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
/arch/microblaze/kernel/prom_parse.c
|
4b6ba8aacbb3185703b797286547d0f8f3859b02 |
|
27-Oct-2010 |
David Daney <ddaney@caviumnetworks.com> |
of/net: Move of_get_mac_address() to a common source file. There are two identical implementations of of_get_mac_address(), one each in arch/powerpc/kernel/prom_parse.c and arch/microblaze/kernel/prom_parse.c. Move this function to a new common file of_net.{c,h} and adjust all the callers to include the new header. Signed-off-by: David Daney <ddaney@caviumnetworks.com> [grant.likely@secretlab.ca: protect header with #ifdef] Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
/arch/microblaze/kernel/prom_parse.c
|
a8dcb878b628203f917c50b0268bba7fd146d9c0 |
|
16-Aug-2010 |
Michal Simek <monstr@monstr.eu> |
microblaze: Fix of/address: Merge all of the bus translation code Commit dbbdee94734bf6f1db7af42008a53655e77cab8f removed of_irq_pci_swizzle but didn't use pci_swizzle_interrupt_pin instead. Signed-off-by: Michal Simek <monstr@monstr.eu> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
/arch/microblaze/kernel/prom_parse.c
|
dbbdee94734bf6f1db7af42008a53655e77cab8f |
|
08-Jun-2010 |
Grant Likely <grant.likely@secretlab.ca> |
of/address: Merge all of the bus translation code Microblaze and PowerPC share a large chunk of code for translating OF device tree data into usable addresses. Differences between the two consist of cosmetic differences, and the addition of dma-ranges support code to powerpc but not microblaze. This patch moves the powerpc version into common code and applies many of the cosmetic (non-functional) changes from the microblaze version. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: Michal Simek <monstr@monstr.eu> CC: Wolfram Sang <w.sang@pengutronix.de> CC: Stephen Rothwell <sfr@canb.auug.org.au>
/arch/microblaze/kernel/prom_parse.c
|
1f5bef30cf6c66f097ea5dfc580a41924df888d1 |
|
08-Jun-2010 |
Grant Likely <grant.likely@secretlab.ca> |
of/address: merge of_address_to_resource() Merge common code between PowerPC and Microblaze. This patch also moves the prototype of pci_address_to_pio() out of pci-bridge.h and into prom.h because the only user of pci_address_to_pio() is of_address_to_resource(). Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: Michal Simek <monstr@monstr.eu> CC: Stephen Rothwell <sfr@canb.auug.org.au>
/arch/microblaze/kernel/prom_parse.c
|
6b884a8d50a6eea2fb3dad7befe748f67193073b |
|
08-Jun-2010 |
Grant Likely <grant.likely@secretlab.ca> |
of/address: merge of_iomap() Merge common code between Microblaze and PowerPC. This patch creates new of_address.h and address.c files to containing address translation and mapping routines. First routine to be moved it of_iomap() Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: Michal Simek <monstr@monstr.eu> CC: Stephen Rothwell <sfr@canb.auug.org.au>
/arch/microblaze/kernel/prom_parse.c
|
7dc2e1134a22dc242175d5321c0c9e97d16eb87b |
|
08-Jun-2010 |
Grant Likely <grant.likely@secretlab.ca> |
of/irq: merge irq mapping code Merge common irq mapping code between PowerPC and Microblaze. This patch merges of_irq_find_parent(), of_irq_map_raw() and of_irq_map_one(). The functions are dependent on one another, so all three are merged in a single patch. Other than cosmetic difference (ie. DBG() vs. pr_debug()), the implementations are identical. of_irq_to_resource() is also merged, but in this case the implementations are different. This patch drops the microblaze version and uses the powerpc implementation unchanged. The microblaze version essentially open-coded irq_of_parse_and_map() which it does not need to do. Therefore the powerpc version is safe to adopt. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> CC: Michal Simek <monstr@monstr.eu> CC: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: Stephen Rothwell <sfr@canb.auug.org.au>
/arch/microblaze/kernel/prom_parse.c
|
b6295c8b85fe83e5679b7b8bebe4df85deebebfc |
|
18-Jun-2010 |
Grant Likely <grant.likely@secretlab.ca> |
of/microblaze: strip out of_irq_workarounds code Microblaze doesn't have any legacy workaround in the device tree irq mapping data. All of the of_irq_workarounds stuff can be dropped Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Cc: Michal Simek <monstr@monstr.eu> Cc: Stephen Rothwell <sfr@canb.auug.org.au>
/arch/microblaze/kernel/prom_parse.c
|
878194c8237e4fc5276685ec59cb3bfb9341988c |
|
13-Jan-2010 |
Michal Simek <monstr@monstr.eu> |
microblaze: pci_controller->arch_data really is a struct device_node * we are follow powerpc change: 44ef339073f67d4abcc62ae52a5fbc069d7a4d29 Signed-off-by: Michal Simek <monstr@monstr.eu>
/arch/microblaze/kernel/prom_parse.c
|
12e8414263f47352b3fec8ba5efff160584202e0 |
|
27-Mar-2009 |
Michal Simek <monstr@monstr.eu> |
microblaze_v8: Open firmware files Reviewed-by: Ingo Molnar <mingo@elte.hu> Reviewed-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com> Acked-by: John Linn <john.linn@xilinx.com> Acked-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
/arch/microblaze/kernel/prom_parse.c
|