Skip to content

Commit 87e4c60

Browse files
chleroykeveryang
authored andcommitted
UPSTREAM: powerpc: mpc8xx: Change CONFIG_8xx to CONFIG_MPC8xx
CONFIG_8xx doesn't mean much outside of arch/powerpc/ This patch renames it CONFIG_MPC8xx just like CONFIG_MPC85xx etc ... It also renames 8xx_immap.h to immap_8xx.h to be consistent with other file names. Signed-off-by: Christophe Leroy <[email protected]> (cherry picked from commit ee1e600) Change-Id: I564708bb6517b699749e8a54c013d032f785e459 Signed-off-by: Jon Lin <[email protected]>
1 parent f92621c commit 87e4c60

File tree

19 files changed

+25
-24
lines changed

19 files changed

+25
-24
lines changed

api/api_platform-powerpc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ int platform_sys_info(struct sys_info *si)
3030
si->clk_bus = gd->bus_clk;
3131
si->clk_cpu = gd->cpu_clk;
3232

33-
#if defined(CONFIG_8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
33+
#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500) || defined(CONFIG_MPC86xx)
3434
#define bi_bar bi_immr_base
3535
#elif defined(CONFIG_MPC83xx)
3636
#define bi_bar bi_immrbar

arch/powerpc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ config MPC86xx
3030
select SYS_FSL_DDR_BE
3131
imply CMD_REGINFO
3232

33-
config 8xx
33+
config MPC8xx
3434
bool "MPC8xx"
3535
imply CMD_REGINFO
3636

arch/powerpc/cpu/mpc8xx/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
menu "mpc8xx CPU"
2-
depends on 8xx
2+
depends on MPC8xx
33

44
config SYS_CPU
55
default "mpc8xx"

arch/powerpc/cpu/mpc8xx/immap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <common.h>
1313
#include <command.h>
1414

15-
#include <asm/8xx_immap.h>
15+
#include <asm/immap_8xx.h>
1616
#include <commproc.h>
1717
#include <asm/iopin_8xx.h>
1818
#include <asm/io.h>

arch/powerpc/include/asm/cache.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <asm/processor.h>
88

99
/* bytes per L1 cache line */
10-
#if defined(CONFIG_8xx)
10+
#if defined(CONFIG_MPC8xx)
1111
#define L1_CACHE_SHIFT 4
1212
#elif defined(CONFIG_PPC64BRIDGE)
1313
#define L1_CACHE_SHIFT 7
@@ -72,7 +72,7 @@ void disable_cpc_sram(void);
7272
#define L2CACHE_NONE 0x03 /* NONE */
7373
#define L2CACHE_PARITY 0x08 /* Mask for L2 Cache Parity Protected bit */
7474

75-
#ifdef CONFIG_8xx
75+
#ifdef CONFIG_MPC8xx
7676
/* Cache control on the MPC8xx is provided through some additional
7777
* special purpose registers.
7878
*/
@@ -139,6 +139,6 @@ static inline void wr_dc_adr(uint val)
139139
mtspr(DC_ADR, val);
140140
}
141141
#endif
142-
#endif /* CONFIG_8xx */
142+
#endif /* CONFIG_MPC8xx */
143143

144144
#endif

arch/powerpc/include/asm/global_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct arch_global_data {
1919
u8 sdhc_adapter;
2020
#endif
2121
#endif
22-
#if defined(CONFIG_8xx)
22+
#if defined(CONFIG_MPC8xx)
2323
unsigned long brg_clk;
2424
#endif
2525
#if defined(CONFIG_CPM2)

arch/powerpc/include/asm/iopin_8xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define _ASM_IOPIN_8XX_H_
1212

1313
#include <linux/types.h>
14-
#include <asm/8xx_immap.h>
14+
#include <asm/immap_8xx.h>
1515
#include <asm/io.h>
1616

1717
#ifdef __KERNEL__

arch/powerpc/include/asm/ppc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313

1414
#ifndef __ASSEMBLY__
1515

16-
#if defined(CONFIG_8xx)
17-
#include <asm/8xx_immap.h>
16+
#if defined(CONFIG_MPC8xx)
17+
#include <asm/immap_8xx.h>
1818
#endif
1919
#ifdef CONFIG_MPC86xx
2020
#include <mpc86xx.h>

cmd/bdinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
180180
print_bi_flash(bd);
181181
print_num("sramstart", bd->bi_sramstart);
182182
print_num("sramsize", bd->bi_sramsize);
183-
#if defined(CONFIG_8xx) || defined(CONFIG_E500)
183+
#if defined(CONFIG_MPC8xx) || defined(CONFIG_E500)
184184
print_num("immr_base", bd->bi_immr_base);
185185
#endif
186186
print_num("bootflags", bd->bi_bootflags);

0 commit comments

Comments
 (0)