diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/system-s3c2440.c')
-rw-r--r-- | firmware/target/arm/s3c2440/system-s3c2440.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/firmware/target/arm/s3c2440/system-s3c2440.c b/firmware/target/arm/s3c2440/system-s3c2440.c index cb273ad4df..577b46966c 100644 --- a/firmware/target/arm/s3c2440/system-s3c2440.c +++ b/firmware/target/arm/s3c2440/system-s3c2440.c | |||
@@ -136,24 +136,6 @@ void memory_init(void) | |||
136 | enable_mmu(); | 136 | enable_mmu(); |
137 | } | 137 | } |
138 | 138 | ||
139 | void s3c_regmod32(volatile unsigned long *reg, unsigned long bits, | ||
140 | unsigned long mask) | ||
141 | { | ||
142 | int oldstatus = disable_interrupt_save(IRQ_FIQ_STATUS); | ||
143 | *reg = (*reg & ~mask) | (bits & mask); | ||
144 | restore_interrupt(oldstatus); | ||
145 | } | ||
146 | |||
147 | void s3c_regset32(volatile unsigned long *reg, unsigned long bits) | ||
148 | { | ||
149 | s3c_regmod32(reg, bits, bits); | ||
150 | } | ||
151 | |||
152 | void s3c_regclr32(volatile unsigned long *reg, unsigned long bits) | ||
153 | { | ||
154 | s3c_regmod32(reg, 0, bits); | ||
155 | } | ||
156 | |||
157 | #ifdef BOOTLOADER | 139 | #ifdef BOOTLOADER |
158 | void system_prepare_fw_start(void) | 140 | void system_prepare_fw_start(void) |
159 | { | 141 | { |