prom.c (df9b42963f2d010ae3163a894ce22cf6b27cd344) prom.c (2c8aaf71b0a4738ae8cb70d9367089bdb892aea3)
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

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

31 else if (BCMCPU_IS_6338())
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;
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

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

31 else if (BCMCPU_IS_6338())
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_6362())
40 mask = CKCTL_6362_ALL_SAFE_EN;
39 else if (BCMCPU_IS_6368())
40 mask = CKCTL_6368_ALL_SAFE_EN;
41 else
42 mask = 0;
43
44 reg = bcm_perf_readl(PERF_CKCTL_REG);
45 reg &= ~mask;
46 bcm_perf_writel(reg, PERF_CKCTL_REG);
47
48 /* register gpiochip */
49 bcm63xx_gpio_init();
50
51 /* do low level board init */
52 board_prom_init();
53}
54
55void __init prom_free_prom_memory(void)
56{
57}
41 else if (BCMCPU_IS_6368())
42 mask = CKCTL_6368_ALL_SAFE_EN;
43 else
44 mask = 0;
45
46 reg = bcm_perf_readl(PERF_CKCTL_REG);
47 reg &= ~mask;
48 bcm_perf_writel(reg, PERF_CKCTL_REG);
49
50 /* register gpiochip */
51 bcm63xx_gpio_init();
52
53 /* do low level board init */
54 board_prom_init();
55}
56
57void __init prom_free_prom_memory(void)
58{
59}