]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
mach HAL: removed functions lpc_pll_on and lpc_pll_off. Now, hal provides the functio...
authorPetr Smolik <petr@smoliku.cz>
Mon, 24 May 2010 21:22:46 +0000 (23:22 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Thu, 1 Jul 2010 23:08:54 +0000 (01:08 +0200)
IAP improvement: don't need to switch off PLL during call a IAP function

Signed-off-by: Petr Smolik <petr@smoliku.cz>
arch/arm/mach-lpc17xx/libs/hal/hal_machperiph.c
arch/arm/mach-lpc17xx/libs/hal/hal_machperiph.h

index 92db8173f7a6697ed77641cc39026985ccefb374..352bb29bdb7a9749adb4a62da59f5678b1abe3ed 100644 (file)
@@ -135,14 +135,6 @@ void system_clock_init(void)
 #endif
 }
 
-void lpc_pll_off(void)
-{
-  // disable PLL
-//  PLLCON = 0;
-//  PLLFEED = 0xAA;                       // Make it happen.  These two updates
-//  PLLFEED = 0x55;                       // MUST occur in sequence.
-}
-
 void lpc_watchdog_feed()
 {
   unsigned long flags;
index e606e22772f4ecb62f7cff583051c8e5b88c1be7..9b3a74bb6eb775090cfa5525d972ec26e23d9ced 100644 (file)
@@ -6,8 +6,6 @@ extern unsigned int system_frequency;
 
 void system_clock_init(void);
 
-//void lpc_pll_on();
-void lpc_pll_off();
 void lpc_watchdog_init(int on,int timeout_ms);
 void lpc_watchdog_feed();