Commit 0e272874 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrcore_v2: update lm32 firmware loader

parent 2f883ce3
......@@ -26,7 +26,7 @@
#define BASE_PCIE 0x80000
#define BASE_MBONE 0x00000
#define RST_ADDR 0x62000
#define RST_ADDR 0xC0400
#define MEM_ADDR 0x0
#include "rr_io.h"
......@@ -63,7 +63,7 @@ int conv_endian(int x)
void rst_lm32(int rst)
{
spec_writel(rst ? 1 : 0, RST_ADDR);
spec_writel(rst ? 0x1deadbee : 0x0deadbee, RST_ADDR);
}
void copy_lm32(uint32_t *buf, int buf_nwords, uint32_t base_addr)
......@@ -154,4 +154,4 @@ int main(int argc, char **argv)
return 0;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment