/** @file NorFlashDxe.c\r
\r
- Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>\r
+ Copyright (c) 2011 - 2020, Arm Limited. All rights reserved.<BR>\r
\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
\r
Status = EFI_SUCCESS;\r
\r
- if (NorFlashBlockIsLocked (Instance, BlockAddress) == TRUE) {\r
+ if (NorFlashBlockIsLocked (Instance, BlockAddress)) {\r
Status = NorFlashUnlockSingleBlock (Instance, BlockAddress);\r
}\r
\r