x86: ivybridge: Measure the MRC code execution time
authorSimon Glass <sjg@chromium.org>
Sun, 18 Oct 2015 21:55:36 +0000 (15:55 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Oct 2015 13:46:51 +0000 (07:46 -0600)
commitfd8f4729ac6520e59dd1d3f57d503d8abe345ac5
tree3be919d96966c805b4b217c25ee28200b2c47cb0
parente9b3967c0c8faefb46213d6698c4bc21bf91598a
x86: ivybridge: Measure the MRC code execution time

This code takes about 450ms without the MRC cache and about 27ms with the
cache. Add a debug timer so that this time can be displayed.

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