[PATCH] ep93xx: Convert the watchdog driver into a platform device.
H Hartley Sweeten
hartleys at visionengravers.com
Fri Jan 20 11:23:50 EST 2012
On Friday, January 20, 2012 2:32 AM, Wim Van Sebroeck wrote:
>> void ep93xx_restart(char mode, const char *cmd) diff --git
>> a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
>> b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
>> index c4a7b84..e9271a7 100644
>> --- a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
>> +++ b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h
>> @@ -224,6 +224,7 @@
>> #define EP93XX_SYSCON_SYSCFG_LCSN1 (1<<0)
>> #define EP93XX_SYSCON_SWLOCK EP93XX_SYSCON_REG(0xc0)
>>
>> +#define EP93XX_WATCHDOG_PHYS_BASE EP93XX_APB_PHYS(0x00140000)
>> #define EP93XX_WATCHDOG_BASE EP93XX_APB_IOMEM(0x00140000)
>
> Shouldn't this last define be removed after you added the new PHYS_BASE ?
To make it easier on Ryan's other patches I left it for now.
After this patch and Ryan's others are applied I will go through the defines in
the soc.h header and figure out which ones can be removed.
Thanks,
Hartley
More information about the linux-arm-kernel
mailing list