dm: x86: Zero global data before board_init_f()
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 13:49:15 +0000 (07:49 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 24 Oct 2014 01:45:28 +0000 (19:45 -0600)
commitfbd72824263dfb48bfee999f8b92ba9cc8abac1b
tree00ad08ef13a99a445640ce30202aa30dccbf62ac
parent9c284ffd93cda1e434eeece0d95698157d00fe18
dm: x86: Zero global data before board_init_f()

To permit information to be passed from the early U-Boot code to
board_init_f() we cannot zero the global_data in board_init_f(). Instead
zero it in the start-up code.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/start.S