x86: ivybridge: Fix car_uninit() to correctly set run state
authorSimon Glass <sjg@chromium.org>
Sun, 18 Oct 2015 21:55:35 +0000 (15:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:51 +0000 (07:46 -0600)
At present a missing $ causes this code to hang when using the MRC cache/
Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/car.S

index 407e451..1defabf 100644 (file)
@@ -188,7 +188,7 @@ car_uninit:
        wrmsr
 
        /* Disable the no-eviction run state */
-       movl    NOEVICTMOD_MSR, %ecx
+       movl    $NOEVICTMOD_MSR, %ecx
        rdmsr
        andl    $~2, %eax
        wrmsr