Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
prom.c
Go to the documentation of this file.
1 /*
2  * This file is subject to the terms and conditions of the GNU General Public
3  * License. See the file "COPYING" in the main directory of this archive
4  * for more details.
5  *
6  * Copyright (C) 2008 Maxime Bizon <[email protected]>
7  */
8 
9 #include <linux/init.h>
10 #include <linux/bootmem.h>
11 #include <asm/bootinfo.h>
12 #include <bcm63xx_board.h>
13 #include <bcm63xx_cpu.h>
14 #include <bcm63xx_io.h>
15 #include <bcm63xx_regs.h>
16 #include <bcm63xx_gpio.h>
17 
18 void __init prom_init(void)
19 {
20  u32 reg, mask;
21 
23 
24  /* stop any running watchdog */
27 
28  /* disable all hardware blocks clock for now */
29  if (BCMCPU_IS_6328())
31  else if (BCMCPU_IS_6338())
33  else if (BCMCPU_IS_6345())
35  else if (BCMCPU_IS_6348())
37  else if (BCMCPU_IS_6358())
39  else if (BCMCPU_IS_6368())
41  else
42  mask = 0;
43 
45  reg &= ~mask;
47 
48  /* register gpiochip */
50 
51  /* do low level board init */
53 }
54 
56 {
57 }