diff options
author | Peter Crosthwaite <crosthwaitepeter@gmail.com> | 2015-06-23 20:19:23 -0700 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-07-09 15:20:40 +0200 |
commit | 691b9572e337f2d74b4b527c3dc76f542c6a5734 (patch) | |
tree | 52e7627ccb6c265c677b8250c114d5c80b9524cf /disas.c | |
parent | 4df81c6ed1eddcbbb920a977e76f599e05b39b77 (diff) |
microblaze: boot: Use cpu_set_pc()
Use cpu_set_pc() for setting program counters when bootloading. This
removes an instance of system level code having to reach into the CPU
env.
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
[AF: Avoid duplicated CPU() casts through local variable]
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions