powerpc: mpc83xx: Use defined constant for SPCR[TBEN]
To increase readability, use the defined constant instead of specifying SPCR[TBEN] as a number. Reviewed-by: Sinan Akman <sinan@writeme.com> Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/processor.h>
|
||||
#include <asm/ptrace.h>
|
||||
#include "initreg/initreg.h"
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
@@ -29,7 +30,7 @@ void interrupt_init_cpu (unsigned *decrementer_count)
|
||||
|
||||
/* Enable e300 time base */
|
||||
|
||||
immr->sysconf.spcr |= 0x00400000;
|
||||
immr->sysconf.spcr |= SPCR_TBEN_MASK;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user