s5j: assume CONFIG_ARCH_LOWVECTORS=n always
authorHeesub Shin <heesub.shin@samsung.com>
Tue, 14 Mar 2017 08:14:33 +0000 (17:14 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 10:08:46 +0000 (19:08 +0900)
S5J always uses the high vector. So, we do not need to consider the case
of CONFIG_ARCH_LOWVECTORS=y. This commit removes unnecessary codes for
it.

Change-Id: If48c987f82c372a32a8b03103d9a042e020848bf
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
os/arch/arm/src/s5j/s5j_boot.c

index 8b1182e..3c03f37 100644 (file)
@@ -172,11 +172,9 @@ int s5j_mpu_initialize(void)
        mpu_priv_stronglyordered(0x80000000, 0x10000000, region++);     // SFR access area, set to stronglyorder
        mpu_control(true);
 
-#ifndef CONFIG_ARCH_LOWVECTORS
        /* Region 10, for vecotr table(0xFFFF_0000++4KB, RO-WT */
 
        mpu_priv_flash(0xFFFF0000, 0x1000, region++);
-#endif
 
        return 0;
 }
@@ -188,9 +186,7 @@ void arm_boot(void)
        __asm__ __volatile__("b  .");
 #endif
 
-#ifndef CONFIG_ARCH_LOWVECTORS
        up_copyvectorblock();
-#endif
 
 #ifdef CONFIG_ARMV7R_MEMINIT
        /* Initialize the .bss and .data sections as well as RAM functions