From d4ca31c40e8888b36635967522ec7ea03fd7e70b Mon Sep 17 00:00:00 2001 From: wdenk Date: Fri, 2 Jan 2004 14:00:00 +0000 Subject: * Cleanup lowboot code for MPC5200 * Minor code cleanup (coding style) * Patch by Reinhard Meyer, 30 Dec 2003: - cpu/mpc5xxx/fec.c: added CONFIG_PHY_ADDR, added CONFIG_PHY_TYPE, - added CONFIG_PHY_ADDR to include/configs/IceCube.h, - turned debug print of PHY registers into a function (called in two places) - added support for EMK MPC5200 based modules * Fix MPC8xx PLPRCR_MFD_SHIFT typo * Add support for TQM866M modules * Fixes for TQM855M with 4 MB flash (Am29DL163 = _no_ mirror bit flash) * Fix a few compiler warnings --- lib_ppc/board.c | 2 +- lib_ppc/interrupts.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lib_ppc') diff --git a/lib_ppc/board.c b/lib_ppc/board.c index ea8adb91e..8e05df16d 100644 --- a/lib_ppc/board.c +++ b/lib_ppc/board.c @@ -1,5 +1,5 @@ /* - * (C) Copyright 2000-2002 + * (C) Copyright 2000-2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this diff --git a/lib_ppc/interrupts.c b/lib_ppc/interrupts.c index 1e540a5c3..b803952ba 100644 --- a/lib_ppc/interrupts.c +++ b/lib_ppc/interrupts.c @@ -46,11 +46,11 @@ static unsigned decrementer_count; /* count value for 1e6/HZ microseconds */ static __inline__ unsigned long get_msr (void) { - unsigned long msr; + unsigned long msr; - asm volatile ("mfmsr %0":"=r" (msr):); + asm volatile ("mfmsr %0":"=r" (msr):); - return msr; + return msr; } static __inline__ void set_msr (unsigned long msr) @@ -93,7 +93,7 @@ int interrupt_init (void) { int ret; - /* call cpu specific function from $(CPU)/interrupts.c */ + /* call cpu specific function from $(CPU)/interrupts.c */ ret = interrupt_init_cpu (&decrementer_count); if (ret) @@ -124,7 +124,7 @@ void timer_interrupt (struct pt_regs *regs) #endif /* CONFIG_WATCHDOG || CONFIG_HW_WATCHDOG */ #ifdef CONFIG_STATUS_LED - status_led_tick (timestamp); + status_led_tick (timestamp); #endif /* CONFIG_STATUS_LED */ #ifdef CONFIG_SHOW_ACTIVITY -- cgit v1.2.3-70-g09d2