commit | 4a6da303e89e164b7bd6c56e2bc4fb48cef6d3a3 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Mon May 25 22:35:07 2015 +0800 |
committer | Simon Glass <sjg@chromium.org> | Thu Jun 04 02:39:39 2015 -0600 |
tree | c653792200965525d251f682268ae79335f61df0 | |
parent | ef9e9f966331fb6df378a8b14548038973d259e3 [diff] |
x86: Do sanity test on pirq table before writing If pirq_routing_table points to NULL, that means U-Boot fails to generate the table before in create_pirq_routing_table(), so we test it against NULL before actually writing it. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>