OMAP4: avoid null pointer access in save_boot_params

When booting via spl the parameter layout is apparently different
and this leads to following bad pointers.

For now just work around the issue by checking pointers before
following them.

Signed-off-by: John Rigby <john.rigby@linaro.org>
1 file changed