On Sunday 16 November 2008, Shinya Kuribayashi wrote:
diff --git a/cpu/mips/start.S b/cpu/mips/start.S
index 6a22302..5b71b00 100644
--- a/cpu/mips/start.S
+++ b/cpu/mips/start.S
@@ -243,9 +243,11 @@ reset:
mtc0zero, CP0_COUNT
mtc0zero, CP0_COMPARE
+#if
Stefan Roese wrote:
@@ -243,9 +243,11 @@ reset:
mtc0zero, CP0_COUNT
mtc0zero, CP0_COMPARE
+#if !defined(CONFIG_SKIP_LOWLEVEL_INIT)
/* CONFIG0 register */
li t0, CONF_CM_UNCACHED
mtc0t0, CP0_CONFIG
+#endif /* !CONFIG_SKIP_LOWLEVEL_INIT */
/*
This patch adds the CONFIG_SKIP_LOWLEVEL_INIT option to start.S. This
enables support for boards where the lowlevel initialization is
already done when U-Boot runs (e.g. via OnChip ROM).
Also the data cache will be flushed upon relocation. This is missing
in the current implementation.
All this
3 matches
Mail list logo