nios2: convert do_reset to use dm cpu data
authorThomas Chou <thomas@wytron.com.tw>
Fri, 9 Oct 2015 01:43:52 +0000 (09:43 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Thu, 22 Oct 2015 23:37:20 +0000 (07:37 +0800)
commit121e36dacdfa0ef68414effea4d758e8fc2f3b60
treefe23e41153aa2296a4ee9a26a5df6765d5cd0d75
parent6368c3e75fdeaf5e183acc704409b3b5b6d682b5
nios2: convert do_reset to use dm cpu data

Convert do_reset to use dm cpu data.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/nios2/cpu/cpu.c