Reviewed-by: Liming Gao <[email protected]>

Because some platform has been broken, I will push this patch soon. 

> -----Original Message-----
> From: Feng, YunhuaX
> Sent: Friday, October 26, 2018 2:08 PM
> To: [email protected]
> Cc: Zhu, Yonghong <[email protected]>; Gao, Liming <[email protected]>
> Subject: [PATCH 1/1] BaseTools: Roll back code modify by commit 9e47e6f90880
> 
> Roll back code modify by commit 9e47e6f90880,
> if ForceRebase not False or True, the GenFv command not need add parameter
> 
> Cc: Liming Gao <[email protected]>
> Cc: Yonghong Zhu <[email protected]>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Yunhua Feng <[email protected]>
> ---
>  BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py 
> b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
> index e867693d7c..ea61f723a7 100644
> --- a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
> +++ b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
> @@ -572,13 +572,13 @@ class GenFdsGlobalVariable:
> 
>          Cmd = ["GenFv"]
>          if BaseAddress:
>              Cmd += ("-r", BaseAddress)
> 
> -        if not ForceRebase:
> +        if ForceRebase == False:
>              Cmd += ("-F", "FALSE")
> -        else:
> +        elif ForceRebase == True:
>              Cmd += ("-F", "TRUE")
> 
>          if Capsule:
>              Cmd.append("-c")
>          if Dump:
> --
> 2.12.2.windows.2

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to