u-boot/drivers/sysreset
Sean Anderson eaf738559c spl: Allow enabling SPL_OF_REAL and SPL_OF_PLATDATA at the same time
Sandbox unit tests in U-Boot proper load a test device tree to have some
devices to work with. In order to do the same in SPL, we must enable
SPL_OF_REAL. However, we already have SPL_OF_PLATDATA enabled. When
generating platdata from a devicetree, it is expected that we will not need
devicetree access functions (even though SPL_OF_CONTROL is enabled). This
expectation does not hold for sandbox, so allow user control of
SPL_OF_REAL.

There are several places in the tree where conditions involving OF_PLATDATA
or OF_REAL no longer function correctly when both of these options can be
selected at the same time. Adjust these conditions accordingly.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-10-17 20:50:52 -04:00
..
Kconfig sysreset: Change Kconfig GPIO dependency 2023-07-07 16:47:15 -04:00
Makefile sysreset: at91: Correct Makefile rule for SYSRESET_AT91 2023-02-07 14:33:49 -05:00
poweroff_gpio.c
sysreset-ti-sci.c
sysreset-uclass.c sysreset: Remove unused NEEDS_MANUAL_RELOC code bits 2023-09-14 10:42:25 -04:00
sysreset_ast.c dm: treewide: Use uclass_first_device_err when accessing one device 2022-10-17 21:17:12 -06:00
sysreset_at91.c reset: at91: Add reset driver for basic assert/deassert operations 2023-01-05 10:06:35 +02:00
sysreset_gpio.c sysreset: gpio: fix gpio_reboot_request return value 2023-03-31 08:32:52 +13:00
sysreset_microblaze.c microblaze: branch to base vector address on reset 2022-01-05 10:22:03 +01:00
sysreset_mpc83xx.c Correct SPL uses of DISPLAY_AER_FULL 2023-03-02 17:45:57 -05:00
sysreset_mpc83xx.h
sysreset_octeon.c
sysreset_psci.c sysreset: psci: add psci_sysreset_get_status 2023-04-25 15:31:28 -04:00
sysreset_resetctl.c sysreset: Mark driver probe functions as static 2021-11-04 08:57:19 +01:00
sysreset_rockchip.c
sysreset_sandbox.c spl: Allow enabling SPL_OF_REAL and SPL_OF_PLATDATA at the same time 2023-10-17 20:50:52 -04:00
sysreset_sbi.c sysreset: provide SBI based sysreset driver 2021-10-07 16:08:23 +08:00
sysreset_socfpga.c sysreset: socfpga: Use parent device for reading base address 2022-07-01 14:57:14 +08:00
sysreset_socfpga_soc64.c
sysreset_sti.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
sysreset_syscon.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
sysreset_watchdog.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
sysreset_x86.c x86: sysreset: Set up LPC only after relocation 2023-05-11 10:25:29 +08:00
sysreset_xtfpga.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00