Patch from Marc Singer
The work already done to rectify the timer code initialization missed
a necessary change. This patch adds a timer initialization function
to the LPD7A400 machine type. It also makes a small correction to the
kernel configuration that is out of step with the machine specific
Kconfig.
# Select various configuration options depending on the machine type
config DISCONTIGMEM
bool
- depends on ARCH_EDB7211 || ARCH_SA1100 || (ARCH_LH7A40X && !LH7A40X_SROMLL)
+ depends on ARCH_EDB7211 || ARCH_SA1100 || (ARCH_LH7A40X && !LH7A40X_CONTIGMEM)
default y
help
Say Y to support efficient handling of discontiguous physical memory,
#ifdef CONFIG_MACH_LPD7A400
extern void lh7a400_init_irq (void);
+extern void lh7a40x_init_time (void);
MACHINE_START (LPD7A400, "Logic Product Development LPD7A400-10")
MAINTAINER ("Marc Singer")
BOOT_PARAMS (0xc0000100)
MAPIO (lpd7a400_map_io)
INITIRQ (lh7a400_init_irq)
+ INITTIME (lh7a40x_init_time)
INIT_MACHINE (lpd7a40x_init)
MACHINE_END