Skip to content

Commit

Permalink
ARM: at91: remove useless at91rm9200_set_type()
Browse files Browse the repository at this point in the history
Since all rm9200 board files have been removed, there is no user of
at91rm9200_set_type() left. Remove it

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
  • Loading branch information
Alexandre Belloni authored and Nicolas Ferre committed Jan 15, 2015
1 parent 427accd commit bd87373
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion arch/arm/mach-at91/generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ extern void __init at91_init_sram(int bank, unsigned long base,
unsigned int length);

/* Processors */
extern void __init at91rm9200_set_type(int type);
extern void __init at91_dt_initialize(void);

/* Timer */
Expand Down
11 changes: 0 additions & 11 deletions arch/arm/mach-at91/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ struct at91_init_soc __initdata at91_boot_soc;
struct at91_socinfo at91_soc_initdata;
EXPORT_SYMBOL(at91_soc_initdata);

void __init at91rm9200_set_type(int type)
{
if (type == ARCH_REVISON_9200_PQFP)
at91_soc_initdata.subtype = AT91_SOC_RM9200_PQFP;
else
at91_soc_initdata.subtype = AT91_SOC_RM9200_BGA;

pr_info("filled in soc subtype: %s\n",
at91_get_soc_subtype(&at91_soc_initdata));
}

void __iomem *at91_ramc_base[2];
EXPORT_SYMBOL_GPL(at91_ramc_base);

Expand Down

0 comments on commit bd87373

Please sign in to comment.