arm-bsp: u-boot: rebase a5ds patches
PATCH 1/1 arm-bsp: u-boot: rebase a5ds patches
Rebase a5ds u-boot patches so, they apply clean in top of latest u-boot.
---
Jon, when ok, please apply this also to dunfell branch. Thanks.
.../a5ds/0001-armv7-add-mmio-timer.patch | 18 ++++---- ...-arm-add-designstart-cortex-a5-board.patch | 42 +++++++++---------- 2 files changed, 30 insertions(+), 30 deletions(-)
meta-arm-bsp/recipes-bsp/u-boot/files/a5ds/0001-armv7-add-mmio-timer.patch +9 -9
@@ -1,7 +1,7 @@ -From 8525c72c438b0aa66f1f38db37bd7aacf7e3ce34 Mon Sep 17 00:00:00 2001 +From 864749afaf9b3f71ddaa519f4a770ce43e206912 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva <[email protected]> Date: Wed, 18 Dec 2019 21:52:34 +0000 -Subject: [PATCH 1/2] armv7: add mmio timer +Subject: [PATCH 1/3] armv7: add mmio timer This timer can be used by u-boot when arch-timer is not available in core, for example, Cortex-A5.
@@ -18,17 +18,17 @@ diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile index 8c955d0d5284..82af9c031277 100644 --- a/arch/arm/cpu/armv7/Makefile +++ b/arch/arm/cpu/armv7/Makefile -@@ -28,6 +28,7 @@ obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o +@@ -28,6 +28,7 @@ obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o obj-$(CONFIG_IPROC) += iproc-common/ obj-$(CONFIG_KONA) += kona-common/ obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o +obj-$(CONFIG_SYS_MMIO_TIMER) += mmio_timer.o - + ifneq (,$(filter s5pc1xx exynos,$(SOC))) obj-y += s5p-common/ diff --git a/arch/arm/cpu/armv7/mmio_timer.c b/arch/arm/cpu/armv7/mmio_timer.c new file mode 100644 -index 000000000000..1b905db8bb19 +index 000000000000..5d6f66172398 --- /dev/null +++ b/arch/arm/cpu/armv7/mmio_timer.c @@ -0,0 +1,56 @@
@@ -89,10 +89,10 @@ index 000000000000..1b905db8bb19 + return gd->arch.timer_rate_hz; +} diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt -index cf1808e051c8..8624714ae7a6 100644 +index 6908431d03cf..186001ecfb8c 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt -@@ -3138,6 +3138,7 @@ CONFIG_SYS_MMC_U_BOOT_DST +@@ -3108,6 +3108,7 @@ CONFIG_SYS_MMC_U_BOOT_DST CONFIG_SYS_MMC_U_BOOT_OFFS CONFIG_SYS_MMC_U_BOOT_SIZE CONFIG_SYS_MMC_U_BOOT_START
@@ -100,6 +100,6 @@ index cf1808e051c8..8624714ae7a6 100644 CONFIG_SYS_MONITOR_ CONFIG_SYS_MONITOR_BASE CONFIG_SYS_MONITOR_BASE_EARLY --- -2.25.0 +-- +2.26.2
meta-arm-bsp/recipes-bsp/u-boot/files/a5ds/0002-board-arm-add-designstart-cortex-a5-board.patch +21 -21
88 lines not on this page · raw message
--
2.26.2
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Quoted 9 lines · Rui Miguel Silva
Rebase a5ds u-boot patches so, they apply clean in top of latest u-boot.
Change-Id I12e596ef8460429b540777e2a8646ed64f81fbacSigned-off-by Rui Miguel Silva <[email protected]>---
Jon, when ok, please apply this also to dunfell branch. Thanks.
Pulled into master. Are these needed for dunfell, as it has the older version of u-boot?
Thanks,
Jon
Quoted 166 lines
.../a5ds/0001-armv7-add-mmio-timer.patch | 18 ++++---- ...-arm-add-designstart-cortex-a5-board.patch | 42 +++++++++---------- 2 files changed, 30 insertions(+), 30 deletions(-)meta-arm-bsp/recipes-bsp/u-boot/files/a5ds/0001-armv7-add-mmio-timer.patch +9
-9@@ -1,7 +1,7 @@ -From 8525c72c438b0aa66f1f38db37bd7aacf7e3ce34 Mon Sep 17 00:00:00 2001 +From 864749afaf9b3f71ddaa519f4a770ce43e206912 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva <[email protected]> Date: Wed, 18 Dec 2019 21:52:34 +0000 -Subject: [PATCH 1/2] armv7: add mmio timer +Subject: [PATCH 1/3] armv7: add mmio timer This timer can be used by u-boot when arch-timer is not available in core, for example, Cortex-A5.@@ -18,17 +18,17 @@ diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile index 8c955d0d5284..82af9c031277 100644 --- a/arch/arm/cpu/armv7/Makefile +++ b/arch/arm/cpu/armv7/Makefile -@@ -28,6 +28,7 @@ obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o +@@ -28,6 +28,7 @@ obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o obj-$(CONFIG_IPROC) += iproc-common/ obj-$(CONFIG_KONA) += kona-common/ obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o +obj-$(CONFIG_SYS_MMIO_TIMER) += mmio_timer.o - + ifneq (,$(filter s5pc1xx exynos,$(SOC))) obj-y += s5p-common/ diff --git a/arch/arm/cpu/armv7/mmio_timer.c b/arch/arm/cpu/armv7/mmio_timer.c new file mode 100644 -index 000000000000..1b905db8bb19 +index 000000000000..5d6f66172398 --- /dev/null +++ b/arch/arm/cpu/armv7/mmio_timer.c @@ -0,0 +1,56 @@@@ -89,10 +89,10 @@ index 000000000000..1b905db8bb19 + return gd->arch.timer_rate_hz; +} diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt -index cf1808e051c8..8624714ae7a6 100644 +index 6908431d03cf..186001ecfb8c 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt -@@ -3138,6 +3138,7 @@ CONFIG_SYS_MMC_U_BOOT_DST +@@ -3108,6 +3108,7 @@ CONFIG_SYS_MMC_U_BOOT_DST CONFIG_SYS_MMC_U_BOOT_OFFS CONFIG_SYS_MMC_U_BOOT_SIZE CONFIG_SYS_MMC_U_BOOT_START@@ -100,6 +100,6 @@ index cf1808e051c8..8624714ae7a6 100644 CONFIG_SYS_MONITOR_ CONFIG_SYS_MONITOR_BASE CONFIG_SYS_MONITOR_BASE_EARLY --- -2.25.0 +-- +2.26.2meta-arm-bsp/recipes-bsp/u-boot/files/a5ds/0002-board-arm-add-designstart-cortex-a5-board.patch +21
-22@@ -1,7 +1,7 @@ -From 2417d0991f73ee2c83946fcac208a7d6894f4530 Mon Sep 17 00:00:00 2001 +From d74c2d6f475bef05c114e859ab52bd721fbee7b2 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva <[email protected]> Date: Wed, 8 Jan 2020 09:48:11 +0000 -Subject: [PATCH 2/2] board: arm: add designstart cortex-a5 board +Subject: [PATCH 2/3] board: arm: add designstart cortex-a5 board Arm added a new board, designstart, with a cortex-a5 chip, add the default configuration, initialization and makefile for this system.@@ -22,33 +22,33 @@ Signed-off-by: Rui Miguel Silva <[email protected]> create mode 100644 include/configs/designstart_ca5.h diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig -index f9dab073ea14..2cc9413114de 100644 +index bbb1e2738bfe..8f918f6e0375 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig -@@ -628,6 +628,12 @@ config ARCH_BCM6858 - select OF_CONTROL - imply CMD_DM - +@@ -636,6 +636,12 @@ config ARCH_BCM6858 + select OF_CONTROL + imply CMD_DM + +config TARGET_DESIGNSTART_CA5 -+ bool "Support Designstart Cortex-A5" -+ select CPU_V7A -+ select SEMIHOSTING -+ select PL01X_SERIAL ++ bool "Support Designstart Cortex-A5" ++ select CPU_V7A ++ select SEMIHOSTING ++ select PL01X_SERIAL + config TARGET_VEXPRESS_CA15_TC2 - bool "Support vexpress_ca15_tc2" - select CPU_V7A -@@ -1782,6 +1788,7 @@ source "board/Marvell/gplugd/Kconfig" + bool "Support vexpress_ca15_tc2" + select CPU_V7A +@@ -1820,6 +1826,7 @@ source "board/Marvell/gplugd/Kconfig" source "board/armadeus/apf27/Kconfig" source "board/armltd/vexpress/Kconfig" source "board/armltd/vexpress64/Kconfig" +source "board/armltd/designstart/Kconfig" + source "board/cortina/presidio-asic/Kconfig" source "board/broadcom/bcm23550_w1d/Kconfig" source "board/broadcom/bcm28155_ap/Kconfig" - source "board/broadcom/bcm963158/Kconfig" diff --git a/board/armltd/designstart/Kconfig b/board/armltd/designstart/Kconfig new file mode 100644 -index 000000000000..6446fe3f4492 +index 000000000000..a9564e8655e2 --- /dev/null +++ b/board/armltd/designstart/Kconfig @@ -0,0 +1,12 @@@@ -66,7 +66,7 @@ index 000000000000..6446fe3f4492 +endif diff --git a/board/armltd/designstart/Makefile b/board/armltd/designstart/Makefile new file mode 100644 -index 000000000000..b64c905c7021 +index 000000000000..d2dc2b74ed85 --- /dev/null +++ b/board/armltd/designstart/Makefile @@ -0,0 +1,8 @@@@ -80,7 +80,7 @@ index 000000000000..b64c905c7021 +obj-y := designstart.o diff --git a/board/armltd/designstart/designstart.c b/board/armltd/designstart/designstart.c new file mode 100644 -index 000000000000..b0400f110ce2 +index 000000000000..658057a00330 --- /dev/null +++ b/board/armltd/designstart/designstart.c @@ -0,0 +1,49 @@@@ -178,7 +178,7 @@ index 000000000000..a2a756740295 + diff --git a/include/configs/designstart_ca5.h b/include/configs/designstart_ca5.h new file mode 100644 -index 000000000000..79c4b36060d2 +index 000000000000..6db5b1cf4ac2 --- /dev/null +++ b/include/configs/designstart_ca5.h @@ -0,0 +1,122 @@@@ -304,6 +304,6 @@ index 000000000000..79c4b36060d2 +#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE +#define CONFIG_ENV_IS_IN_FLASH 1 +#endif --- -2.25.0 +-- +2.26.2 --2.26.2
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hi Jon,
Quoted 8 lines · Jon Mason
Quoted 7 lines · Rui Miguel Silva
Rebase a5ds u-boot patches so, they apply clean in top of latest u-boot.
Change-Id I12e596ef8460429b540777e2a8646ed64f81fbacSigned-off-by Rui Miguel Silva <[email protected]>---
Quoted 5 lines
Quoted 2 lines
Jon, when ok, please apply this also to dunfell branch. Thanks.
Pulled into master. Are these needed for dunfell, as it has the older version of u-boot?
Yeah, you are right, this are for master only.
------
Cheers,
Rui
Quoted 171 lines
Thanks,
JonQuoted 166 lines
.../a5ds/0001-armv7-add-mmio-timer.patch | 18 ++++---- ...-arm-add-designstart-cortex-a5-board.patch | 42 +++++++++---------- 2 files changed, 30 insertions(+), 30 deletions(-)meta-arm-bsp/recipes-bsp/u-boot/files/a5ds/0001-armv7-add-mmio-timer.patch +9
-9@@ -1,7 +1,7 @@ -From 8525c72c438b0aa66f1f38db37bd7aacf7e3ce34 Mon Sep 17 00:00:00 2001 +From 864749afaf9b3f71ddaa519f4a770ce43e206912 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva <[email protected]> Date: Wed, 18 Dec 2019 21:52:34 +0000 -Subject: [PATCH 1/2] armv7: add mmio timer +Subject: [PATCH 1/3] armv7: add mmio timer This timer can be used by u-boot when arch-timer is not available in core, for example, Cortex-A5.@@ -18,17 +18,17 @@ diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile index 8c955d0d5284..82af9c031277 100644 --- a/arch/arm/cpu/armv7/Makefile +++ b/arch/arm/cpu/armv7/Makefile -@@ -28,6 +28,7 @@ obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o +@@ -28,6 +28,7 @@ obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o obj-$(CONFIG_IPROC) += iproc-common/ obj-$(CONFIG_KONA) += kona-common/ obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o +obj-$(CONFIG_SYS_MMIO_TIMER) += mmio_timer.o - + ifneq (,$(filter s5pc1xx exynos,$(SOC))) obj-y += s5p-common/ diff --git a/arch/arm/cpu/armv7/mmio_timer.c b/arch/arm/cpu/armv7/mmio_timer.c new file mode 100644 -index 000000000000..1b905db8bb19 +index 000000000000..5d6f66172398 --- /dev/null +++ b/arch/arm/cpu/armv7/mmio_timer.c @@ -0,0 +1,56 @@@@ -89,10 +89,10 @@ index 000000000000..1b905db8bb19 + return gd->arch.timer_rate_hz; +} diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt -index cf1808e051c8..8624714ae7a6 100644 +index 6908431d03cf..186001ecfb8c 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt -@@ -3138,6 +3138,7 @@ CONFIG_SYS_MMC_U_BOOT_DST +@@ -3108,6 +3108,7 @@ CONFIG_SYS_MMC_U_BOOT_DST CONFIG_SYS_MMC_U_BOOT_OFFS CONFIG_SYS_MMC_U_BOOT_SIZE CONFIG_SYS_MMC_U_BOOT_START@@ -100,6 +100,6 @@ index cf1808e051c8..8624714ae7a6 100644 CONFIG_SYS_MONITOR_ CONFIG_SYS_MONITOR_BASE CONFIG_SYS_MONITOR_BASE_EARLY --- -2.25.0 +-- +2.26.2meta-arm-bsp/recipes-bsp/u-boot/files/a5ds/0002-board-arm-add-designstart-cortex-a5-board.patch +21
-22@@ -1,7 +1,7 @@ -From 2417d0991f73ee2c83946fcac208a7d6894f4530 Mon Sep 17 00:00:00 2001 +From d74c2d6f475bef05c114e859ab52bd721fbee7b2 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva <[email protected]> Date: Wed, 8 Jan 2020 09:48:11 +0000 -Subject: [PATCH 2/2] board: arm: add designstart cortex-a5 board +Subject: [PATCH 2/3] board: arm: add designstart cortex-a5 board Arm added a new board, designstart, with a cortex-a5 chip, add the default configuration, initialization and makefile for this system.@@ -22,33 +22,33 @@ Signed-off-by: Rui Miguel Silva <[email protected]> create mode 100644 include/configs/designstart_ca5.h diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig -index f9dab073ea14..2cc9413114de 100644 +index bbb1e2738bfe..8f918f6e0375 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig -@@ -628,6 +628,12 @@ config ARCH_BCM6858 - select OF_CONTROL - imply CMD_DM - +@@ -636,6 +636,12 @@ config ARCH_BCM6858 + select OF_CONTROL + imply CMD_DM + +config TARGET_DESIGNSTART_CA5 -+ bool "Support Designstart Cortex-A5" -+ select CPU_V7A -+ select SEMIHOSTING -+ select PL01X_SERIAL ++ bool "Support Designstart Cortex-A5" ++ select CPU_V7A ++ select SEMIHOSTING ++ select PL01X_SERIAL + config TARGET_VEXPRESS_CA15_TC2 - bool "Support vexpress_ca15_tc2" - select CPU_V7A -@@ -1782,6 +1788,7 @@ source "board/Marvell/gplugd/Kconfig" + bool "Support vexpress_ca15_tc2" + select CPU_V7A +@@ -1820,6 +1826,7 @@ source "board/Marvell/gplugd/Kconfig" source "board/armadeus/apf27/Kconfig" source "board/armltd/vexpress/Kconfig" source "board/armltd/vexpress64/Kconfig" +source "board/armltd/designstart/Kconfig" + source "board/cortina/presidio-asic/Kconfig" source "board/broadcom/bcm23550_w1d/Kconfig" source "board/broadcom/bcm28155_ap/Kconfig" - source "board/broadcom/bcm963158/Kconfig" diff --git a/board/armltd/designstart/Kconfig b/board/armltd/designstart/Kconfig new file mode 100644 -index 000000000000..6446fe3f4492 +index 000000000000..a9564e8655e2 --- /dev/null +++ b/board/armltd/designstart/Kconfig @@ -0,0 +1,12 @@@@ -66,7 +66,7 @@ index 000000000000..6446fe3f4492 +endif diff --git a/board/armltd/designstart/Makefile b/board/armltd/designstart/Makefile new file mode 100644 -index 000000000000..b64c905c7021 +index 000000000000..d2dc2b74ed85 --- /dev/null +++ b/board/armltd/designstart/Makefile @@ -0,0 +1,8 @@@@ -80,7 +80,7 @@ index 000000000000..b64c905c7021 +obj-y := designstart.o diff --git a/board/armltd/designstart/designstart.c b/board/armltd/designstart/designstart.c new file mode 100644 -index 000000000000..b0400f110ce2 +index 000000000000..658057a00330 --- /dev/null +++ b/board/armltd/designstart/designstart.c @@ -0,0 +1,49 @@@@ -178,7 +178,7 @@ index 000000000000..a2a756740295 + diff --git a/include/configs/designstart_ca5.h b/include/configs/designstart_ca5.h new file mode 100644 -index 000000000000..79c4b36060d2 +index 000000000000..6db5b1cf4ac2 --- /dev/null +++ b/include/configs/designstart_ca5.h @@ -0,0 +1,122 @@@@ -304,6 +304,6 @@ index 000000000000..79c4b36060d2 +#define CONFIG_ENV_SIZE CONFIG_ENV_SECT_SIZE +#define CONFIG_ENV_IS_IN_FLASH 1 +#endif --- -2.25.0 +-- +2.26.2 --2.26.2
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.