diff options
author | Andreas Färber <afaerber@suse.de> | 2012-05-04 00:42:39 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2012-06-04 23:00:41 +0200 |
commit | 5f4ef08b20ece1b3711bcfb3751efb13986d17e5 (patch) | |
tree | 18eb37664743669762b8753d928ec54b04e97be8 /hw/omap_sx1.c | |
parent | 43824588af2fa77f9586e16ef2f01d1990c6460e (diff) |
omap: Use cpu_arm_init() to store ARMCPU in omap_mpu_state_s
Fix tab indentations of comments, add braces, use cpu_reset().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Acked-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/omap_sx1.c')
-rw-r--r-- | hw/omap_sx1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c index 4e8ec4a990..c7618c6cdf 100644 --- a/hw/omap_sx1.c +++ b/hw/omap_sx1.c @@ -202,7 +202,7 @@ static void sx1_init(ram_addr_t ram_size, sx1_binfo.kernel_filename = kernel_filename; sx1_binfo.kernel_cmdline = kernel_cmdline; sx1_binfo.initrd_filename = initrd_filename; - arm_load_kernel(cpu->env, &sx1_binfo); + arm_load_kernel(&cpu->cpu->env, &sx1_binfo); } /* TODO: fix next line */ |