powerpc/powernv: Report size of OPAL memcons log
[linux/fpc-iii.git] / arch / powerpc / platforms / 83xx / asp834x.c
blob575afd6eb36a405f6a13bf3b7f969d5b6611e7d4
1 /*
2 * arch/powerpc/platforms/83xx/asp834x.c
4 * Analogue & Micro ASP8347 board specific routines
5 * clone of mpc834x_itx
7 * Copyright 2008 Codehermit
9 * Maintainer: Bryan O'Donoghue <bodonoghue@codhermit.ie>
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version.
17 #include <linux/pci.h>
18 #include <linux/of_platform.h>
20 #include <asm/time.h>
21 #include <asm/ipic.h>
22 #include <asm/udbg.h>
24 #include "mpc83xx.h"
26 /* ************************************************************************
28 * Setup the architecture
31 static void __init asp834x_setup_arch(void)
33 mpc83xx_setup_arch();
34 mpc834x_usb_cfg();
37 machine_device_initcall(asp834x, mpc83xx_declare_of_platform_devices);
40 * Called very early, MMU is off, device-tree isn't unflattened
42 static int __init asp834x_probe(void)
44 return of_machine_is_compatible("analogue-and-micro,asp8347e");
47 define_machine(asp834x) {
48 .name = "ASP8347E",
49 .probe = asp834x_probe,
50 .setup_arch = asp834x_setup_arch,
51 .init_IRQ = mpc83xx_ipic_init_IRQ,
52 .get_irq = ipic_get_irq,
53 .restart = mpc83xx_restart,
54 .time_init = mpc83xx_time_init,
55 .calibrate_decr = generic_calibrate_decr,
56 .progress = udbg_progress,