tools: add default CR/CSR address to relocate script

parent 9c6fae70
......@@ -12,6 +12,8 @@ if ! (echo $ADDRESS | grep -qi '^0x[0-9a-f]\{8\}' ) ; then
exit 1
fi
CR_CSR_BASE=0x600000
BYTE1=`echo $ADDRESS | sed 's!\(0x\)\?\([0-9a-fA-F][0-9a-fA-F]\)......!\2!'`
BYTE2=`echo $ADDRESS | sed 's!\(0x\)\?..\([0-9a-fA-F][0-9a-fA-F]\)....!\2!'`
BYTE3=`echo $ADDRESS | sed 's!\(0x\)\?....\([0-9a-fA-F][0-9a-fA-F]\)..!\2!'`
......
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