diff --git a/libcpu/arm/s3c24x0/start_gcc.S b/libcpu/arm/s3c24x0/start_gcc.S index d6e98fefee..72f5164053 100644 --- a/libcpu/arm/s3c24x0/start_gcc.S +++ b/libcpu/arm/s3c24x0/start_gcc.S @@ -189,7 +189,6 @@ reset: /* set interrupt vector */ ldr r0, _load_address - ldr r0, [r0] mov r1, #0x0 /* target address */ add r2, r0, #0x20 /* size, 32bytes */ diff --git a/libcpu/arm/s3c24x0/system_clock.c b/libcpu/arm/s3c24x0/system_clock.c index e779fb4840..bd2a6690db 100644 --- a/libcpu/arm/s3c24x0/system_clock.c +++ b/libcpu/arm/s3c24x0/system_clock.c @@ -72,14 +72,12 @@ void rt_hw_get_clock(void) else HCLK = FCLK/3; break; - } +} if(p) PCLK = HCLK>>1; else PCLK = HCLK; - - rt_kprintf("FCLK: %dM, HCLK: %dM, PCLK: %dM\n", FCLK/1000000, HCLK/1000000, PCLK/1000000); } void rt_hw_set_mpll_clock(rt_uint8_t sdiv, rt_uint8_t pdiv, rt_uint8_t mdiv)