Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373894
b: refs/heads/master
c: 889faa8
h: refs/heads/master
v: v3
  • Loading branch information
Michal Simek committed Apr 4, 2013
1 parent 0993349 commit f2953e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 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: 96790f0a283976bc59f68657237293fe97b02334
refs/heads/master: 889faa88142801ee6bec2de2b8fb4c606076d52f
22 changes: 11 additions & 11 deletions trunk/arch/arm/mach-zynq/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ static struct of_device_id zynq_of_bus_ids[] __initdata = {
};

/**
* xilinx_init_machine() - System specific initialization, intended to be
* called from board specific initialization.
* zynq_init_machine - System specific initialization, intended to be
* called from board specific initialization.
*/
static void __init xilinx_init_machine(void)
static void __init zynq_init_machine(void)
{
/*
* 64KB way size, 8-way associativity, parity disabled
Expand All @@ -59,7 +59,7 @@ static void __init xilinx_init_machine(void)
of_platform_bus_probe(NULL, zynq_of_bus_ids, NULL);
}

static void __init xilinx_zynq_timer_init(void)
static void __init zynq_timer_init(void)
{
zynq_slcr_init();
clocksource_of_init();
Expand All @@ -84,9 +84,9 @@ static void __init zynq_scu_map_io(void)
}

/**
* xilinx_map_io() - Create memory mappings needed for early I/O.
* zynq_map_io - Create memory mappings needed for early I/O.
*/
static void __init xilinx_map_io(void)
static void __init zynq_map_io(void)
{
debug_ll_io_init();
zynq_scu_map_io();
Expand All @@ -97,17 +97,17 @@ static void zynq_system_reset(char mode, const char *cmd)
zynq_slcr_system_reset();
}

static const char *xilinx_dt_match[] = {
static const char * const zynq_dt_match[] = {
"xlnx,zynq-zc702",
"xlnx,zynq-7000",
NULL
};

MACHINE_START(XILINX_EP107, "Xilinx Zynq Platform")
.map_io = xilinx_map_io,
.map_io = zynq_map_io,
.init_irq = irqchip_init,
.init_machine = xilinx_init_machine,
.init_time = xilinx_zynq_timer_init,
.dt_compat = xilinx_dt_match,
.init_machine = zynq_init_machine,
.init_time = zynq_timer_init,
.dt_compat = zynq_dt_match,
.restart = zynq_system_reset,
MACHINE_END

0 comments on commit f2953e0

Please sign in to comment.