On Fri, Mar 20, 2020 at 20:05:35 +0530, Pankaj Bansal wrote:
> From: Pankaj Bansal <pankaj.ban...@nxp.com>
> 
> The SocLib contains code specific to an Soc. it should be part of
> SOC package.
> Therefore, move the SocLib to Soc Package.
> Since we are moving the files to Soc Package, no need to mention the
> Soc name in file names. Their location is enough to indicate for which
> Soc the files are.
> 
> Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com>

Reviewed-by: Leif Lindholm <l...@nuviainc.com>

> ---
>  Silicon/NXP/LS1043A/LS1043A.dsc.inc                             | 2 +-
>  .../SocLib/Chassis2/Soc.c => LS1043A/Library/SocLib/SocLib.c}   | 0
>  .../LS1043aSocLib.inf => LS1043A/Library/SocLib/SocLib.inf}     | 2 +-
>  3 files changed, 2 insertions(+), 2 deletions(-)
>  rename Silicon/NXP/{Library/SocLib/Chassis2/Soc.c => 
> LS1043A/Library/SocLib/SocLib.c} (100%)
>  rename Silicon/NXP/{Library/SocLib/LS1043aSocLib.inf => 
> LS1043A/Library/SocLib/SocLib.inf} (92%)
> 
> diff --git a/Silicon/NXP/LS1043A/LS1043A.dsc.inc 
> b/Silicon/NXP/LS1043A/LS1043A.dsc.inc
> index 7e75d5b7cba9..a5942c0f2c9c 100644
> --- a/Silicon/NXP/LS1043A/LS1043A.dsc.inc
> +++ b/Silicon/NXP/LS1043A/LS1043A.dsc.inc
> @@ -11,7 +11,7 @@
>  
>  [LibraryClasses.common]
>    
> PlatformHookLib|MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.inf
> -  SocLib|Silicon/NXP/Library/SocLib/LS1043aSocLib.inf
> +  SocLib|Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf
>    
> SerialUartClockLib|Silicon/NXP/Library/SerialUartClockLib/SerialUartClockLib.inf
>    
> SerialPortLib|MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.inf
>  
> diff --git a/Silicon/NXP/Library/SocLib/Chassis2/Soc.c 
> b/Silicon/NXP/LS1043A/Library/SocLib/SocLib.c
> similarity index 100%
> rename from Silicon/NXP/Library/SocLib/Chassis2/Soc.c
> rename to Silicon/NXP/LS1043A/Library/SocLib/SocLib.c
> diff --git a/Silicon/NXP/Library/SocLib/LS1043aSocLib.inf 
> b/Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf
> similarity index 92%
> rename from Silicon/NXP/Library/SocLib/LS1043aSocLib.inf
> rename to Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf
> index 1d042bbfc4e4..3d0f988e1c67 100644
> --- a/Silicon/NXP/Library/SocLib/LS1043aSocLib.inf
> +++ b/Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf
> @@ -24,4 +24,4 @@ [LibraryClasses]
>    DebugLib
>  
>  [Sources.common]
> -  Chassis2/Soc.c
> +  SocLib.c
> -- 
> 2.17.1
> 

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#56851): https://edk2.groups.io/g/devel/message/56851
Mute This Topic: https://groups.io/mt/72077453/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to