gpu: nvgpu: gm20b: dynamically detect priv security for secure boot of falcon

based on the config setting and fuse secure no non secure boot is done

Change-Id: I5937ba945c5a3a86f72e0f2a9078fcde01977137
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/487684
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Vijayakumar
2014-08-22 17:22:57 +05:30
committed by Dan Willemsen
parent 08983f727f
commit a52a50d407
6 changed files with 57 additions and 17 deletions

View File

@@ -26,7 +26,9 @@ int gpu_init_hal(struct gk20a *g)
gk20a_init_hal(&g->ops);
break;
case GK20A_GPUID_GM20B:
gm20b_init_hal(&g->ops);
gk20a_dbg_info("gm20b detected");
if (gm20b_init_hal(&g->ops))
return -ENODEV;
break;
default:
gk20a_err(&g->dev->dev, "no support for %x", ver);