## @file\r
# process FV generation\r
#\r
-# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2016, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# Write the Fv contents to Buffer\r
#\r
if os.path.isfile(FvOutputFile):\r
- FvFileObj = open ( FvOutputFile,'r+b')\r
+ FvFileObj = open ( FvOutputFile,'rb')\r
\r
GenFdsGlobalVariable.VerboseLogger( "\nGenerate %s FV Successfully" %self.UiFvName)\r
GenFdsGlobalVariable.SharpCounter = 0\r