nios2: use common sequence for reserve_uboot
authorThomas Chou <thomas@wytron.com.tw>
Tue, 27 Oct 2015 03:23:39 +0000 (11:23 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 01:14:11 +0000 (09:14 +0800)
Use common sequence for reserve_uboot, as the result is
the same.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
common/board_f.c

index 7632041b73410bf776cbd8d11bc4a9749ca45a5d..94db06d8a3e57030a2268a6155c8a5c8e216ebd6 100644 (file)
@@ -894,7 +894,7 @@ static init_fnc_t init_sequence_f[] = {
         *  - board info struct
         */
        setup_dest_addr,
-#if defined(CONFIG_BLACKFIN) || defined(CONFIG_NIOS2)
+#if defined(CONFIG_BLACKFIN)
        /* Blackfin u-boot monitor should be on top of the ram */
        reserve_uboot,
 #endif
@@ -919,7 +919,7 @@ static init_fnc_t init_sequence_f[] = {
                !defined(CONFIG_BLACKFIN) && !defined(CONFIG_M68K)
        reserve_video,
 #endif
-#if !defined(CONFIG_BLACKFIN) && !defined(CONFIG_NIOS2)
+#if !defined(CONFIG_BLACKFIN)
        reserve_uboot,
 #endif
 #ifndef CONFIG_SPL_BUILD