nios2: use builtin functions for control registers access
authorThomas Chou <thomas@wytron.com.tw>
Fri, 9 Nov 2012 06:29:15 +0000 (14:29 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Sat, 10 Nov 2012 11:45:58 +0000 (19:45 +0800)
commit4f63bfb68945ce5ebf0a819152014ba0f88f76ff
tree5e1c3175755bd2ce3badb6329738339650f27b94
parent59852d03867108217fe88e3bfc3e1e9cedfe63c5
nios2: use builtin functions for control registers access

The commit 51926d5ee0be029fb45f10f42756df97279f8ad3
  COMMON: Use __stringify() instead of rest of implementations
forgot to update the wrctl funtion, and causes compilation error.

But there are builtin functions for control registers access in
nios2 comipiler. It is convenient to use them instead.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Cc: Marek Vasut <marex@denx.de>
include/nios2.h