summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/include/mach/generic.h
blob: cb7f8e6928241670cea057ad4e5721adef235848 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __MACH_SOCFPGA_GENERIC_H
#define __MACH_SOCFPGA_GENERIC_H

struct socfpga_cm_config;

void socfpga_lowlevel_init(struct socfpga_cm_config *cm_config,
		unsigned long *pinmux, int num_pinmux);

static inline void __udelay(unsigned us)
{
	volatile unsigned int i;

	for (i = 0; i < us * 3; i++);
}

#endif /* __MACH_SOCFPGA_GENERIC_H */