diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-05-25 22:35:07 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-06-04 02:39:39 -0600 |
commit | 67b24970cef90b6d230e370cce9db8c29b2f4d74 (patch) | |
tree | c653792200965525d251f682268ae79335f61df0 /include/ubi_uboot.h | |
parent | 05b98ec3468547057666dd685b2a1615298c24cc (diff) | |
download | u-boot-imx-67b24970cef90b6d230e370cce9db8c29b2f4d74.zip u-boot-imx-67b24970cef90b6d230e370cce9db8c29b2f4d74.tar.gz u-boot-imx-67b24970cef90b6d230e370cce9db8c29b2f4d74.tar.bz2 |
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>
Diffstat (limited to 'include/ubi_uboot.h')
0 files changed, 0 insertions, 0 deletions