[U-Boot] [PATCH 1/2] arm: rockchip: make_fit_atf: remove unneeded imports

From: Patrick Uiterwijk patrick@puiterwijk.org
These imports are entirely unused in the entire script.
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org Signed-off-by: Peter Robinson pbrobinson@gmail.com --- arch/arm/mach-rockchip/make_fit_atf.py | 2 -- 1 file changed, 2 deletions(-)
diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch/arm/mach-rockchip/make_fit_atf.py index 7c6dd57678..9a404d1d32 100755 --- a/arch/arm/mach-rockchip/make_fit_atf.py +++ b/arch/arm/mach-rockchip/make_fit_atf.py @@ -13,8 +13,6 @@ import getopt
# pip install pyelftools from elftools.elf.elffile import ELFFile -from elftools.elf.sections import SymbolTableSection -from elftools.elf.segments import Segment, InterpSegment, NoteSegment
ELF_SEG_P_TYPE='p_type' ELF_SEG_P_PADDR='p_paddr'

Similar to firefly 3399 enable the ability to create a FIT image with combined arm-trusted-firmware.
Signed-off-by: Peter Robinson pbrobinson@gmail.com --- configs/evb-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index b36f232dcb..67ba0ce015 100644 --- a/configs/evb-rk3399_defconfig +++ b/configs/evb-rk3399_defconfig @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="rk3399-evb" CONFIG_DEBUG_UART=y CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y +CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_STACK_R=y @@ -25,6 +26,8 @@ CONFIG_CMD_TIME=y CONFIG_SPL_OF_CONTROL=y CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" CONFIG_SPL_OF_PLATDATA=y +CONFIG_SPL_ATF=y +CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y CONFIG_ENV_IS_IN_MMC=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_REGMAP=y

Similar to firefly 3399 enable the ability to create a FIT image with combined arm-trusted-firmware.
Signed-off-by: Peter Robinson pbrobinson@gmail.com
configs/evb-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+)
Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com

Similar to firefly 3399 enable the ability to create a FIT image with combined arm-trusted-firmware.
Signed-off-by: Peter Robinson pbrobinson@gmail.com
configs/evb-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+)
Reviewed-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com

Hi Peter,
On 04/25/2018 05:50 PM, Peter Robinson wrote:
Similar to firefly 3399 enable the ability to create a FIT image with combined arm-trusted-firmware.
Signed-off-by: Peter Robinson pbrobinson@gmail.com
Looks good to me. Reviewed-by: Kever Yang kever.yang@rock-chips.com
Thanks, - Kever
configs/evb-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig index b36f232dcb..67ba0ce015 100644 --- a/configs/evb-rk3399_defconfig +++ b/configs/evb-rk3399_defconfig @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="rk3399-evb" CONFIG_DEBUG_UART=y CONFIG_FIT=y CONFIG_SPL_LOAD_FIT=y +CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-rockchip/make_fit_atf.py" # CONFIG_DISPLAY_CPUINFO is not set CONFIG_DISPLAY_BOARDINFO_LATE=y CONFIG_SPL_STACK_R=y @@ -25,6 +26,8 @@ CONFIG_CMD_TIME=y CONFIG_SPL_OF_CONTROL=y CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents" CONFIG_SPL_OF_PLATDATA=y +CONFIG_SPL_ATF=y +CONFIG_SPL_ATF_NO_PLATFORM_PARAM=y CONFIG_ENV_IS_IN_MMC=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_REGMAP=y

Similar to firefly 3399 enable the ability to create a FIT image with combined arm-trusted-firmware.
Signed-off-by: Peter Robinson pbrobinson@gmail.com Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Reviewed-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Reviewed-by: Kever Yang kever.yang@rock-chips.com
configs/evb-rk3399_defconfig | 3 +++ 1 file changed, 3 insertions(+)
Applied to u-boot-rockchip, thanks!

From: Patrick Uiterwijk patrick@puiterwijk.org
These imports are entirely unused in the entire script.
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org Signed-off-by: Peter Robinson pbrobinson@gmail.com
arch/arm/mach-rockchip/make_fit_atf.py | 2 -- 1 file changed, 2 deletions(-)
Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com

From: Patrick Uiterwijk patrick@puiterwijk.org
These imports are entirely unused in the entire script.
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org Signed-off-by: Peter Robinson pbrobinson@gmail.com
arch/arm/mach-rockchip/make_fit_atf.py | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com

From: Patrick Uiterwijk patrick@puiterwijk.org
These imports are entirely unused in the entire script.
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org Signed-off-by: Peter Robinson pbrobinson@gmail.com Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com Reviewed-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com
arch/arm/mach-rockchip/make_fit_atf.py | 2 -- 1 file changed, 2 deletions(-)
Applied to u-boot-rockchip, thanks!
participants (3)
-
Kever Yang
-
Peter Robinson
-
Philipp Tomsich