tqm85xx.c (0052bc5d5c3adc4ee4ba567470aebe775fcf2006) tqm85xx.c (f67be814ff8e862422739cb424ce8c4e6c142c28)
1/*
2 * Based on MPC8560 ADS and arch/ppc tqm85xx ports
3 *
4 * Maintained by Kumar Gala (see MAINTAINERS for contact information)
5 *
6 * Copyright 2008 Freescale Semiconductor Inc.
7 *
8 * Copyright (c) 2005-2006 DENX Software Engineering

--- 132 unchanged lines hidden (view full) ---

141 phid1 = mfspr(SPRN_HID1);
142 seq_printf(m, "PLL setting\t: 0x%x\n", ((phid1 >> 24) & 0x3f));
143
144 /* Display the amount of memory */
145 seq_printf(m, "Memory\t\t: %d MB\n", memsize / (1024 * 1024));
146}
147
148static struct of_device_id __initdata of_bus_ids[] = {
1/*
2 * Based on MPC8560 ADS and arch/ppc tqm85xx ports
3 *
4 * Maintained by Kumar Gala (see MAINTAINERS for contact information)
5 *
6 * Copyright 2008 Freescale Semiconductor Inc.
7 *
8 * Copyright (c) 2005-2006 DENX Software Engineering

--- 132 unchanged lines hidden (view full) ---

141 phid1 = mfspr(SPRN_HID1);
142 seq_printf(m, "PLL setting\t: 0x%x\n", ((phid1 >> 24) & 0x3f));
143
144 /* Display the amount of memory */
145 seq_printf(m, "Memory\t\t: %d MB\n", memsize / (1024 * 1024));
146}
147
148static struct of_device_id __initdata of_bus_ids[] = {
149 { .name = "soc", },
150 { .type = "soc", },
151 { .name = "cpm", },
152 { .name = "localbus", },
153 { .compatible = "simple-bus", },
154 {},
155};
156
157static int __init declare_of_platform_devices(void)
158{
159 of_platform_bus_probe(NULL, of_bus_ids, NULL);
160

--- 31 unchanged lines hidden ---
149 { .compatible = "simple-bus", },
150 {},
151};
152
153static int __init declare_of_platform_devices(void)
154{
155 of_platform_bus_probe(NULL, of_bus_ids, NULL);
156

--- 31 unchanged lines hidden ---