8000 Add Zicsr and Zifencei extensions when GCC >= 11 by Skallwar · Pull Request #3 · smaeul/u-boot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add Zicsr and Zifencei extensions when GCC >= 11 #3

New issue

8000 Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 89 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
9640beb
gpio: sunxi: Fix build with CONFIG_SPL_SERIAL=n
smaeul May 4, 2022
a0e6033
ARM: dts: sun4i: Sync from Linux v5.18-rc1
smaeul Nov 5, 2021
2f009c2
musb: sunxi: Allow host-side USB while charging
smaeul Nov 22, 2021
bba77f5
tools: mkimage: Add Allwinner TOC1 support
smaeul Aug 8, 2021
83e2ebe
sunxi: DT: H6: Add USB3 to Pine H64 DTS
smaeul Apr 17, 2021
949aa5d
Kconfig: Remove an impossible condition
smaeul Oct 9, 2021
8dd7e45
binman: Prevent entries in a section from overlapping
smaeul Oct 9, 2021
2dee894
sunxi: binman: Enable SPL FIT loading for 32-bit SoCs
smaeul Apr 17, 2021
9903022
sunxi: psci: Avoid hanging when CPU 0 is hot-unplugged
smaeul Oct 10, 2021
c71c588
sunxi: psci: Add support for H3 CPU 0 hotplug
smaeul Oct 9, 2021
21a6361
remoteproc: Add a driver for the Allwinner AR100
smaeul Oct 9, 2021
ce830d0
arm: dts: sunxi: h3: Add nodes for AR100 remoteproc
smaeul Oct 9, 2021
0869ef0
sunxi: Enable support for SCP firmware on H3
smaeul Apr 17, 2021
ae885f7
arm: psci: Add definitions for PSCI v1.1
smaeul Oct 10, 2021
a48abdd
[DO NOT MERGE] sunxi: Enable remoteproc on some H3 boards
smaeul Oct 11, 2021
ca557c8
[DO NOT MERGE] sunxi: psci: Delegate PSCI to SCPI
smaeul Oct 10, 2021
a56b87a
clk: sunxi: Store the array sizes in the CCU descriptor
smaeul May 2, 2022
c85ab45
clk: sunxi: Prevent out-of-bounds gate array access
smaeul May 2, 2022
4849e7e
reset: sunxi: Get the reset count from the CCU descriptor
smaeul May 2, 2022
bec089a
clk: sunxi: Use a single driver for all variants
smaeul May 2, 2022
5d7ee08
clk: sunxi: Convert driver private data to platform data
smaeul May 2, 2022
7c576b0
reset: sunxi: Convert driver private data to platform data
smaeul May 2, 2022
d4a4d63
reset: sunxi: Reuse the platform data from the clock driver
smaeul May 2, 2022
44711b6
clk: sunxi: Add additional RTC compatible strings
smaeul May 1, 2022
9e6e630
clk: sunxi: Add support for the D1 CCU
smaeul May 1, 2022
ba31fc9
clk: sunxi: Add a driver for the legacy A31/A23/A33 PRCM
smaeul May 3, 2022
02c7df8
ARM: dts: sun6i: mixtile-loftq: Add USB1 VBUS regulator
smaeul Aug 27, 2021
4f66b12
power: regulator: Add a driver for the AXP USB power supply
smaeul Aug 23, 2021
faaffd8
sunxi: Switch to PMIC USB power supply VBUS detection
smaeul Aug 23, 2021
deb3362
gpio: axp/sunxi: Remove virtual VBUS detection GPIO
smaeul Aug 26, 2021
e531bb3
power: regulator: Add a driver for the AXP PMIC drivevbus
smaeul Aug 27, 2021
51f9158
power: pmic: axp: Probe the drivevbus regulator from the DT
smaeul Aug 27, 2021
dd39a95
sunxi: Enable PMIC drivevbus regulator support for USB supplies
smaeul Aug 27, 2021
09c947e
sunxi: Enable fixed regulator support for USB supplies
smaeul Aug 27, 2021
ef89a1f
phy: sun4i-usb: Control USB supplies via regulator uclass
smaeul Aug 27, 2021
720b170
sunxi: Remove obsolete USBx_VBUS_PIN Kconfig symbols
smaeul Aug 27, 2021
94bfb90
gpio: axp/sunxi: Remove virtual VBUS enable GPIO
smaeul Aug 26, 2021
ed83b33
phy: sun4i-usb: Use DM_GPIO for id/vbus_det GPIOs
smaeul Aug 17, 2021
1c9b8a9
ARM: dts: sunxi: Add AXP221 and AXP809 GPIO nodes
smaeul Aug 21, 2021
b1f8206
gpio: axp: Consistently use the "axp_gpio" order
smaeul Aug 27, 2021
6e46bf8
gpio: axp: Bind via device tree
smaeul Aug 28, 2021
05552f2
gpio: axp: Use DM_PMIC functions for register access
smaeul Aug 18, 2021
f8b1d4f
gpio: axp: Select variant from compatible at runtime
smaeul Aug 28, 2021
02392f7
gpio: axp: Add support for getting the pin function
smaeul Aug 28, 2021
794bc95
gpio: axp: Add pull-down support for AXP22x/AXP8xx variant
smaeul Aug 28, 2021
6d76a27
clk: sunxi: Add NAND clocks and resets
smaeul May 16, 2022
0acff93
pinctrl: sunxi: Add NAND pinmuxes
smaeul May 16, 2022
8c48e40
mtd: nand: sunxi: Remove an unnecessary check
smaeul May 16, 2022
a8395a0
mtd: nand: sunxi: Convert from fdtdec to ofnode
smaeul May 16, 2022
2d99cb9
mtd: nand: sunxi: Convert to the driver model
smaeul May 16, 2022
39f2502
mtd: nand: sunxi: Pass the device to the init function
smaeul May 16, 2022
f43454b
ARM: dts: sun8i: A33: Add iNet U70B REV01
smaeul Nov 20, 2021
a2f36d5
sunxi: Add iNet_U70B_rev1_defconfig
smaeul Nov 20, 2021
23a5b61
Adapt iNet U70B REV01 for development (FEL + serial)
smaeul May 4, 2022
4e23083
Merge branch 'patch/nand-dm' into allwinner
smaeul May 26, 2022
d5173c0
Merge branch 'patch/musb-charging' into allwinner
smaeul May 26, 2022
e82102a
Merge branch 'patch/mkimage-toc1' into allwinner
smaeul May 26, 2022
5156f61
Merge branch 'patch/h6-dts' into allwinner
smaeul May 26, 2022
d0e956e
Merge branch 'patch/h3-scp' into allwinner
smaeul May 26, 2022
535d476
Merge branch 'patch/gpio-spl-fix' into allwinner
smaeul May 26, 2022
22e4796
Merge branch 'patch/dt-sync' into allwinner
smaeul May 26, 2022
83456cc
Merge branch 'patch/clk-support' into allwinner
smaeul May 26, 2022
28ab594
Merge branch 'patch/axp-vbus' into allwinner
smaeul May 26, 2022
e608887
Merge branch 'patch/axp-gpio' into allwinner
smaeul May 26, 2022
01b80d6
Merge branch 'patch/a33-tablet-dts' into allwinner
smaeul May 26, 2022
ae77de6
gpio: sunxi: Hack up the driver for the D1
smaeul Aug 9, 2021
98333eb
mmc: sunxi: Hack up the driver for the D1
smaeul Aug 9, 2021
06522d4
net: sun8i_emac: Hack up the driver for the D1
smaeul Aug 9, 2021
d8d52c4
net: sun8i-emac: Downgrade printf in probe to debug
smaeul Sep 12, 2021
15f52ba
phy: sun4i-usb: Rework HCI PHY (aka. "pmu_unk1") handling
Andre-ARM Sep 12, 2021
a81373a
phy: sun4i-usb: Hack up the driver for the D1
smaeul Sep 9, 2021
60dd27b
phy: sun4i-usb: Add support for the D1
smaeul Sep 12, 2021
aa27bb2
pinctrl: sunxi: Add support for the D1
smaeul Aug 29, 2021
ec769db
pinctrl: sunxi: Hack up the driver for the D1
smaeul Nov 4, 2021
9adaadd
spi: sunxi: Hack up the driver for the D1
smaeul Sep 9, 2021
38cf263
[BROKEN] spi: sunxi: Add support for the D1
smaeul Sep 12, 2021
aaa79d7
usb: musb-new: Hack up the driver for the D1
smaeul Sep 11, 2021
45f2d10
riscv: cpu: Add cache operations for T-HEAD CPUs
smaeul Sep 12, 2021
75207ed
board: riscv: Sort target configs alphabetically
smaeul Aug 7, 2021
69101a1
sunxi: Convert some Kconfig defaults to implies
smaeul Aug 29, 2021
09e4ce4
sunxi: Add a U-Boot port for the Allwinner D1 Nezha
smaeul Aug 7, 2021
e713815
sun20i: Add some variables to the default environment
Aug 26, 2021
e3a2628
riscv64: update nezha_defconfig for development/testing
Sep 19, 2021
9f9ee48
sunxi: Add a U-Boot port for the Lichee RV and its dock
xhackerustc Jan 18, 2022
a1bf6bb
sunxi: Add a U-Boot port for the Lichee RV 86 Panel
smaeul Feb 27, 2022
fe5085b
sunxi: Use sunxi-common.h for D1 port
smaeul Mar 11, 2022
2c4589c
sun20i: set CONFIG_SYS_BOOTM_LEN for RISC-V
Mar 13, 2022
afc07ce
sunxi: Work around lack of Linux MBUS driver
smaeul Apr 6, 2022
5941531
riscv64: Fix missing Zicsr Zifencei in GCC >= 11
Skallwar Jul 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ source "scripts/Kconfig.include"
# Allow defaults in arch-specific code to override any given here
source "arch/Kconfig"

source "board/sunxi/Kconfig"

menu "General setup"

config BROKEN
Expand Down Expand Up @@ -415,7 +417,7 @@ config BUILD_TARGET
default "u-boot-spl.kwb" if ARCH_MVEBU && SPL
default "u-boot-elf.srec" if RCAR_GEN3
default "u-boot.itb" if !BINMAN && SPL_LOAD_FIT && (ARCH_ROCKCHIP || \
ARCH_SUNXI || RISCV || ARCH_ZYNQMP)
RISCV || ARCH_ZYNQMP)
default "u-boot.kwb" if ARCH_KIRKWOOD
default "u-boot-with-spl.bin" if ARCH_AT91 && SPL_NAND_SUPPORT
default "u-boot-with-spl.imx" if ARCH_MX6 && SPL
Expand Down
17 changes: 17 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1005,6 +1005,23 @@ endif
endif
endif

ifeq ($(CONFIG_MACH_SUN8I_H3)$(CONFIG_ARMV7_PSCI),yy)
INPUTS-$(CONFIG_ARMV7_PSCI) += u-boot-resume.img

MKIMAGEFLAGS_u-boot-resume.img := -B 0x400 -T sunxi_egon

u-boot-resume.img: u-boot-resume.bin
$(call if_changed,mkimage)

OBJCOPYFLAGS_u-boot-resume.bin := -O binary

u-boot-resume.bin: u-boot-resume.o
$(call if_changed,objcopy)

u-boot-resume.S: u-boot
@sed -En 's/(0x[[:xdigit:]]+) +psci_cpu_entry/ldr pc, =\1/p' $<.map > $@
endif

INPUTS-$(CONFIG_X86) += u-boot-x86-start16.bin u-boot-x86-reset16.bin \
$(if $(CONFIG_SPL_X86_16BIT_INIT),spl/u-boot-spl.bin) \
$(if $(CONFIG_TPL_X86_16BIT_INIT),tpl/u-boot-tpl.bin)
Expand Down
4 changes: 4 additions & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1194,13 +1194,17 @@ config ARCH_SUNXI
imply SPL_GPIO
imply SPL_LIBCOMMON_SUPPORT
imply SPL_LIBGENERIC_SUPPORT
imply SPL_LOAD_FIT
imply SPL_MMC if MMC
imply SPL_POWER
imply SPL_SERIAL
imply SYSRESET
imply SYSRESET_WATCHDOG
imply SYSRESET_WATCHDOG_AUTO
imply USB_EHCI_GENERIC
imply USB_ETHER if USB_MUSB_GADGET
imply USB_GADGET
imply USB_OHCI_GENERIC
imply WDT

config ARCH_U8500
Expand Down
5 changes: 4 additions & 1 deletion arch/arm/cpu/armv7/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,14 @@ config ARMV7_PSCI
choice
prompt "Supported PSCI version"
depends on ARMV7_PSCI
default ARMV7_PSCI_0_1 if ARCH_SUNXI
default ARMV7_PSCI_1_1 if ARCH_SUNXI
default ARMV7_PSCI_1_0
help
Select the supported PSCI version.

config ARMV7_PSCI_1_1
bool "PSCI V1.1"

config ARMV7_PSCI_1_0
bool "PSCI V1.0"

Expand Down
4 changes: 4 additions & 0 deletions arch/arm/cpu/armv7/sunxi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ obj-$(CONFIG_MACH_SUN6I) += sram.o
obj-$(CONFIG_MACH_SUN8I) += sram.o

ifndef CONFIG_SPL_BUILD
ifdef CONFIG_MACH_SUN8I_H3
obj-$(CONFIG_ARMV7_PSCI) += psci-scpi.o
else
obj-$(CONFIG_ARMV7_PSCI) += psci.o
endif
endif

ifdef CONFIG_SPL_BUILD
obj-y += fel_utils.o
Expand Down
Loading
0