prom.c (681e4a5e13c1c8315694eb4f44e0cdd84c9082d2) | prom.c (e5766aea5b9b7519654261c27b639f567b5415b4) |
---|---|
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 --- 12 unchanged lines hidden (view full) --- 21 22 bcm63xx_cpu_init(); 23 24 /* stop any running watchdog */ 25 bcm_wdt_writel(WDT_STOP_1, WDT_CTL_REG); 26 bcm_wdt_writel(WDT_STOP_2, WDT_CTL_REG); 27 28 /* disable all hardware blocks clock for now */ | 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 --- 12 unchanged lines hidden (view full) --- 21 22 bcm63xx_cpu_init(); 23 24 /* stop any running watchdog */ 25 bcm_wdt_writel(WDT_STOP_1, WDT_CTL_REG); 26 bcm_wdt_writel(WDT_STOP_2, WDT_CTL_REG); 27 28 /* disable all hardware blocks clock for now */ |
29 if (BCMCPU_IS_6338()) | 29 if (BCMCPU_IS_6328()) 30 mask = CKCTL_6328_ALL_SAFE_EN; 31 else 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 if (BCMCPU_IS_6358()) 36 mask = CKCTL_6358_ALL_SAFE_EN; 37 else if (BCMCPU_IS_6368()) --- 18 unchanged lines hidden --- | 32 mask = CKCTL_6338_ALL_SAFE_EN; 33 else if (BCMCPU_IS_6345()) 34 mask = CKCTL_6345_ALL_SAFE_EN; 35 else if (BCMCPU_IS_6348()) 36 mask = CKCTL_6348_ALL_SAFE_EN; 37 else if (BCMCPU_IS_6358()) 38 mask = CKCTL_6358_ALL_SAFE_EN; 39 else if (BCMCPU_IS_6368()) --- 18 unchanged lines hidden --- |