Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111098
b: refs/heads/master
c: c7b95bc
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Oct 11, 2008
1 parent 7688fa3 commit 7f186e9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d10e025f0e4ba4b96d7b5786d232ac5b0b232b11
refs/heads/master: c7b95bcb38ea492fd025008ef99501a2b90aa237
11 changes: 11 additions & 0 deletions trunk/arch/mips/txx9/generic/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ unsigned int txx9_master_clock;
unsigned int txx9_cpu_clock;
unsigned int txx9_gbus_clock;

#ifdef CONFIG_CPU_TX39XX
/* don't enable by default - see errata */
int txx9_ccfg_toeon __initdata;
#else
int txx9_ccfg_toeon __initdata = 1;
#endif

/* Minimum CLK support */

Expand Down Expand Up @@ -315,6 +320,12 @@ static void __init preprocess_cmdline(void)
} else if (strcmp(str, "dcdisable") == 0) {
txx9_dc_disable = 1;
continue;
} else if (strcmp(str, "toeoff") == 0) {
txx9_ccfg_toeon = 0;
continue;
} else if (strcmp(str, "toeon") == 0) {
txx9_ccfg_toeon = 1;
continue;
}
if (arcs_cmdline[0])
strcat(arcs_cmdline, " ");
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/mips/txx9/generic/setup_tx3927.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ void __init tx3927_setup(void)
int i;
unsigned int conf;

/* don't enable - see errata */
txx9_ccfg_toeon = 0;
if (strstr(prom_getcmdline(), "toeon") != NULL)
txx9_ccfg_toeon = 1;

txx9_reg_res_init(TX3927_REV_PCODE(), TX3927_REG_BASE,
TX3927_REG_SIZE);

Expand Down

0 comments on commit 7f186e9

Please sign in to comment.