Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/8875833a86e567c0ca4258353116294089d24625 You should set ROOT_URL correctly, otherwise the web may not work correctly.

nios2: add flush_dcache_range function

exposes functionality to flush dcache according to
the common.h API

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
master
Stefan Kristiansson 14 years ago committed by Thomas Chou
parent 2acca35ce4
commit 8875833a86
  1. 10
      arch/nios2/lib/cache.S

@ -48,6 +48,16 @@ flush_icache:
bltu r4, r5, 1b
ret
.global flush_dcache_range
flush_dcache_range:
movhi r8, %hi(CONFIG_SYS_DCACHELINE_SIZE)
ori r8, r8, %lo(CONFIG_SYS_DCACHELINE_SIZE)
0: flushd 0(r4)
add r4, r4, r8
bltu r4, r5, 0b
ret
.global flush_cache
flush_cache:

Loading…
Cancel
Save