prom.c (f43dc23d5ea91fca257be02138a255f02d98e806) | prom.c (04712f3ff6e3a42ef658b55b0f99478f4f0682e3) |
---|---|
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 <mbizon@freebox.fr> 7 */ 8 --- 18 unchanged lines hidden (view full) --- 27 28 /* disable all hardware blocks clock for now */ 29 if (BCMCPU_IS_6338()) 30 mask = CKCTL_6338_ALL_SAFE_EN; 31 else if (BCMCPU_IS_6345()) 32 mask = CKCTL_6345_ALL_SAFE_EN; 33 else if (BCMCPU_IS_6348()) 34 mask = CKCTL_6348_ALL_SAFE_EN; | 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 <mbizon@freebox.fr> 7 */ 8 --- 18 unchanged lines hidden (view full) --- 27 28 /* disable all hardware blocks clock for now */ 29 if (BCMCPU_IS_6338()) 30 mask = CKCTL_6338_ALL_SAFE_EN; 31 else if (BCMCPU_IS_6345()) 32 mask = CKCTL_6345_ALL_SAFE_EN; 33 else if (BCMCPU_IS_6348()) 34 mask = CKCTL_6348_ALL_SAFE_EN; |
35 else 36 /* BCMCPU_IS_6358() */ | 35 else if (BCMCPU_IS_6358()) |
37 mask = CKCTL_6358_ALL_SAFE_EN; | 36 mask = CKCTL_6358_ALL_SAFE_EN; |
37 else if (BCMCPU_IS_6368()) 38 mask = CKCTL_6368_ALL_SAFE_EN; 39 else 40 mask = 0; |
|
38 39 reg = bcm_perf_readl(PERF_CKCTL_REG); 40 reg &= ~mask; 41 bcm_perf_writel(reg, PERF_CKCTL_REG); 42 43 /* register gpiochip */ 44 bcm63xx_gpio_init(); 45 46 /* do low level board init */ 47 board_prom_init(); 48} 49 50void __init prom_free_prom_memory(void) 51{ 52} | 41 42 reg = bcm_perf_readl(PERF_CKCTL_REG); 43 reg &= ~mask; 44 bcm_perf_writel(reg, PERF_CKCTL_REG); 45 46 /* register gpiochip */ 47 bcm63xx_gpio_init(); 48 49 /* do low level board init */ 50 board_prom_init(); 51} 52 53void __init prom_free_prom_memory(void) 54{ 55} |