arm: Update jadecpu board Enable dcache and arch memset/memcpy for speed reasons Remove of config.mk and some environment overwrites Some generic cleanup Signed-off-by: Matthias Weisser <weisserm@arcor.de>
diff --git a/board/syteco/jadecpu/config.mk b/board/syteco/jadecpu/config.mk deleted file mode 100644 index 617603d..0000000 --- a/board/syteco/jadecpu/config.mk +++ /dev/null
@@ -1 +0,0 @@ -CONFIG_SYS_TEXT_BASE = 0x10000000
diff --git a/board/syteco/jadecpu/jadecpu.c b/board/syteco/jadecpu/jadecpu.c index 69476f8..a7b6e70 100644 --- a/board/syteco/jadecpu/jadecpu.c +++ b/board/syteco/jadecpu/jadecpu.c
@@ -44,6 +44,7 @@ gd->bd->bi_boot_params = PHYS_SDRAM + PHYS_SDRAM_SIZE - 0x10000; icache_enable(); + dcache_enable(); return 0; } @@ -125,9 +126,6 @@ setenv("preboot", "run gs_slow_boot"); } else if ((in_word & 0xC0) != 0) { setenv("stdout", "vga"); - setenv("gs_bootcmd", "mw.l 0x40000000 0 1024; usb start;" - "fatls usb 0; fatload usb 0 0x40000000 mcq5resq.bin;" - "bootelf 0x40000000; bootelf 0x10080000"); setenv("preboot", "run gs_slow_boot"); } else { setenv("stdin", "serial"); @@ -136,7 +134,6 @@ if (getenv("gs_devel")) { setenv("preboot", "run gs_slow_boot"); } else { - setenv("gs_bootcmd", "bootelf 0x10080000"); setenv("preboot", "run gs_fast_boot"); } }