Commit a7d83550 authored by Michal Simek's avatar Michal Simek

microblaze: Remove hardcoded asm instraction for PVR loading

It comes from past where pvr wasn't supported in msr instruction.
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 92ee8bd4
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
register unsigned tmp __asm__("r3"); \ register unsigned tmp __asm__("r3"); \
tmp = 0x0; /* Prevent warning about unused */ \ tmp = 0x0; /* Prevent warning about unused */ \
__asm__ __volatile__ ( \ __asm__ __volatile__ ( \
".byte 0x94,0x60,0xa0, " #pvrid "\n\t" \ "mfs %0, rpvr" #pvrid ";" \
: "=r" (tmp) : : "memory"); \ : "=r" (tmp) : : "memory"); \
val = tmp; \ val = tmp; \
} }
......
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