Blackfin arch: spelling fixes
Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
This commit is contained in:
parent
ac1bd53c06
commit
d2d50aa97d
|
@ -91,7 +91,7 @@ int show_interrupts(struct seq_file *p, void *v)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* do_IRQ handles all hardware IRQ's. Decoded IRQs should not
|
* do_IRQ handles all hardware IRQs. Decoded IRQs should not
|
||||||
* come via this function. Instead, they should provide their
|
* come via this function. Instead, they should provide their
|
||||||
* own 'handler'
|
* own 'handler'
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -557,7 +557,7 @@ void dump_bfin_regs(struct pt_regs *fp, void *retaddr)
|
||||||
break;
|
break;
|
||||||
#ifndef CONFIG_DEBUG_HWERR
|
#ifndef CONFIG_DEBUG_HWERR
|
||||||
/* If one of the last few instructions was a STI
|
/* If one of the last few instructions was a STI
|
||||||
* it is likily that the error occured awhile ago
|
* it is likely that the error occured awhile ago
|
||||||
* and we just noticed
|
* and we just noticed
|
||||||
*/
|
*/
|
||||||
if (x >= 0x0040 && x <= 0x0047 && i <= 0)
|
if (x >= 0x0040 && x <= 0x0047 && i <= 0)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* File: arch/blackfin/mach-bf533/boards/cm_bf533.c
|
* File: arch/blackfin/mach-bf533/boards/cm_bf533.c
|
||||||
* Based on: arch/blackfin/mach-bf533/boards/ezkit.c
|
* Based on: arch/blackfin/mach-bf533/boards/ezkit.c
|
||||||
* Author: Aidan Williams <aidan@nicta.com.au> Copright 2005
|
* Author: Aidan Williams <aidan@nicta.com.au> Copyright 2005
|
||||||
*
|
*
|
||||||
* Created: 2005
|
* Created: 2005
|
||||||
* Description: Board description file
|
* Description: Board description file
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* File: arch/blackfin/mach-bf533/ezkit.c
|
* File: arch/blackfin/mach-bf533/ezkit.c
|
||||||
* Based on: Orginal Work
|
* Based on: Original Work
|
||||||
* Author: Aidan Williams <aidan@nicta.com.au>
|
* Author: Aidan Williams <aidan@nicta.com.au>
|
||||||
*
|
*
|
||||||
* Created: 2005
|
* Created: 2005
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Author: Michael Hennerich
|
* Author: Michael Hennerich
|
||||||
*
|
*
|
||||||
* Created: ?
|
* Created: ?
|
||||||
* Description: Set up the interupt priorities
|
* Description: Set up the interrupt priorities
|
||||||
*
|
*
|
||||||
* Modified:
|
* Modified:
|
||||||
* Copyright 2004-2006 Analog Devices Inc.
|
* Copyright 2004-2006 Analog Devices Inc.
|
||||||
|
|
|
@ -55,7 +55,7 @@ static struct resource bfin_pcmcia_cf_resources[] = {
|
||||||
.end = 0x20312000,
|
.end = 0x20312000,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
},{
|
},{
|
||||||
.start = 0x20311000, /* Attribute Memeory */
|
.start = 0x20311000, /* Attribute Memory */
|
||||||
.end = 0x20311FFF,
|
.end = 0x20311FFF,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
},{
|
},{
|
||||||
|
|
|
@ -59,7 +59,7 @@ static struct resource bfin_pcmcia_cf_resources[] = {
|
||||||
.end = 0x20312000,
|
.end = 0x20312000,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
},{
|
},{
|
||||||
.start = 0x20311000, /* Attribute Memeory */
|
.start = 0x20311000, /* Attribute Memory */
|
||||||
.end = 0x20311FFF,
|
.end = 0x20311FFF,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
},{
|
},{
|
||||||
|
|
|
@ -108,7 +108,7 @@ static struct resource bfin_pcmcia_cf_resources[] = {
|
||||||
.end = 0x20312000,
|
.end = 0x20312000,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
},{
|
},{
|
||||||
.start = 0x20311000, /* Attribute Memeory */
|
.start = 0x20311000, /* Attribute Memory */
|
||||||
.end = 0x20311FFF,
|
.end = 0x20311FFF,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
},{
|
},{
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Author: Michael Hennerich
|
* Author: Michael Hennerich
|
||||||
*
|
*
|
||||||
* Created:
|
* Created:
|
||||||
* Description: Set up the interupt priorities
|
* Description: Set up the interrupt priorities
|
||||||
*
|
*
|
||||||
* Modified:
|
* Modified:
|
||||||
* Copyright 2004-2006 Analog Devices Inc.
|
* Copyright 2004-2006 Analog Devices Inc.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* File: arch/blackfin/mach-bf533/boards/cm_bf561.c
|
* File: arch/blackfin/mach-bf533/boards/cm_bf561.c
|
||||||
* Based on: arch/blackfin/mach-bf533/boards/ezkit.c
|
* Based on: arch/blackfin/mach-bf533/boards/ezkit.c
|
||||||
* Author: Aidan Williams <aidan@nicta.com.au> Copright 2005
|
* Author: Aidan Williams <aidan@nicta.com.au> Copyright 2005
|
||||||
*
|
*
|
||||||
* Created: 2006
|
* Created: 2006
|
||||||
* Description: Board description file
|
* Description: Board description file
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
char *bfin_board_name = "Bluetechnix CM BF561";
|
char *bfin_board_name = "Bluetechnix CM BF561";
|
||||||
|
|
||||||
#if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE)
|
#if defined(CONFIG_SPI_BFIN) || defined(CONFIG_SPI_BFIN_MODULE)
|
||||||
/* all SPI perpherals info goes here */
|
/* all SPI peripherals info goes here */
|
||||||
|
|
||||||
#if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE)
|
#if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE)
|
||||||
static struct mtd_partition bfin_spi_flash_partitions[] = {
|
static struct mtd_partition bfin_spi_flash_partitions[] = {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Author: Michael Hennerich
|
* Author: Michael Hennerich
|
||||||
*
|
*
|
||||||
* Created:
|
* Created:
|
||||||
* Description: Set up the interupt priorities
|
* Description: Set up the interrupt priorities
|
||||||
*
|
*
|
||||||
* Modified:
|
* Modified:
|
||||||
* Copyright 2004-2006 Analog Devices Inc.
|
* Copyright 2004-2006 Analog Devices Inc.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Author:
|
* Author:
|
||||||
*
|
*
|
||||||
* Created: ?
|
* Created: ?
|
||||||
* Description: Set up the interupt priorities
|
* Description: Set up the interrupt priorities
|
||||||
*
|
*
|
||||||
* Modified:
|
* Modified:
|
||||||
* 1996 Roman Zippel
|
* 1996 Roman Zippel
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Author:
|
* Author:
|
||||||
*
|
*
|
||||||
* Created: ?
|
* Created: ?
|
||||||
* Description: Set up the interupt priorities
|
* Description: Set up the interrupt priorities
|
||||||
*
|
*
|
||||||
* Modified:
|
* Modified:
|
||||||
* 1996 Roman Zippel
|
* 1996 Roman Zippel
|
||||||
|
|
|
@ -149,7 +149,7 @@ static void *_l1_sram_alloc(size_t size, struct l1_sram_piece *pfree, int count)
|
||||||
size = (size + 3) & ~3;
|
size = (size + 3) & ~3;
|
||||||
|
|
||||||
/* not use the good method to match the best slot !!! */
|
/* not use the good method to match the best slot !!! */
|
||||||
/* search an available memeory slot */
|
/* search an available memory slot */
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
if ((pfree[i].flag == SRAM_SLT_FREE)
|
if ((pfree[i].flag == SRAM_SLT_FREE)
|
||||||
&& (pfree[i].size >= size)) {
|
&& (pfree[i].size >= size)) {
|
||||||
|
@ -162,7 +162,7 @@ static void *_l1_sram_alloc(size_t size, struct l1_sram_piece *pfree, int count)
|
||||||
if (i >= count)
|
if (i >= count)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
/* updated the NULL memeory slot !!! */
|
/* updated the NULL memory slot !!! */
|
||||||
if (pfree[i].size > size) {
|
if (pfree[i].size > size) {
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
if (pfree[i].flag == SRAM_SLT_NULL) {
|
if (pfree[i].flag == SRAM_SLT_NULL) {
|
||||||
|
@ -186,7 +186,7 @@ static void *_l1_sram_alloc_max(struct l1_sram_piece *pfree, int count,
|
||||||
int i, index = -1;
|
int i, index = -1;
|
||||||
void *addr = NULL;
|
void *addr = NULL;
|
||||||
|
|
||||||
/* search an available memeory slot */
|
/* search an available memory slot */
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
if (pfree[i].flag == SRAM_SLT_FREE && pfree[i].size > best) {
|
if (pfree[i].flag == SRAM_SLT_FREE && pfree[i].size > best) {
|
||||||
addr = pfree[i].paddr;
|
addr = pfree[i].paddr;
|
||||||
|
|
Loading…
Reference in New Issue