From a628fc23b0af7e82b930b641a57805340fdf8af4 Mon Sep 17 00:00:00 2001 From: Kalyan Nagabhirava Date: Mon, 12 Feb 2018 16:01:21 +0530 Subject: Platform/Comcast: add RDK Disaster Recovery (DRI) Application Application will Download platform code Image (kernel + DTB + rootfs) and writes into Flash partition. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Moorthy Baskaravenkatraman Reviewed-by: Ard Biesheuvel --- .../Application/DriSecureBoot/DriSecureBoot.c | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Platform/Comcast/Application/DriSecureBoot/DriSecureBoot.c (limited to 'Platform/Comcast/Application/DriSecureBoot/DriSecureBoot.c') diff --git a/Platform/Comcast/Application/DriSecureBoot/DriSecureBoot.c b/Platform/Comcast/Application/DriSecureBoot/DriSecureBoot.c new file mode 100644 index 0000000000..1ebead919a --- /dev/null +++ b/Platform/Comcast/Application/DriSecureBoot/DriSecureBoot.c @@ -0,0 +1,32 @@ +/* +# Copyright (c) 2014-2018, Linaro Limited. All rights reserved. +# +# This program and the accompanying materials +# are licensed and made available under the terms and conditions of the BSD License +# which accompanies this distribution. The full text of the license may be found at +# http://opensource.org/licenses/bsd-license.php +# +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +# + */ +#include + +EFI_STATUS +EFIAPI +DriSecureBootEntryPoint ( + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable + ) +{ + EFI_STATUS Status; + + Status = RdkHttpBoot (); + + Status = RdkSecureBoot ( + ImageHandle, + SystemTable->BootServices + ); + + return Status; +} -- cgit v1.2.3