summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-05-28 09:19:05 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-05-28 09:19:05 +0000
commit69c83a19cea8f01e55848b61ea618dee66af27ce (patch)
tree22b8dc6d0f6e99407e96a1da045fcedc79aef54c /sys/dev/fdt
parentec1d684de0e1c4d557d9228aaf807f0eed20a7c4 (diff)
Remove the bcmmbox_write(BCMMBOX_CHANPM, ...) call in bcmmbox_attach().
This command locks up my RaspberryPi 4 while it seems to have no effect for other devices. First of all u-boot will already enable power for us plus it seems that more is needed than just this write to be really effective. Why my rpi4 locks up is still unclear but this is now a pure u-boot issue. Tested by kettenis@ on his working rpi4 and rpi2 OK kettenis@
Diffstat (limited to 'sys/dev/fdt')
-rw-r--r--sys/dev/fdt/bcm2835_mbox.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/fdt/bcm2835_mbox.c b/sys/dev/fdt/bcm2835_mbox.c
index 65114d8ad2f..c58741d70aa 100644
--- a/sys/dev/fdt/bcm2835_mbox.c
+++ b/sys/dev/fdt/bcm2835_mbox.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_mbox.c,v 1.4 2022/08/27 20:31:45 mglocker Exp $ */
+/* $OpenBSD: bcm2835_mbox.c,v 1.5 2024/05/28 09:19:04 claudio Exp $ */
/*
* Copyright (c) 2020 Tobias Heider <tobhe@openbsd.org>
@@ -153,15 +153,6 @@ bcmmbox_attach(struct device *parent, struct device *self, void *aux)
printf("\n");
- bcmmbox_write(BCMMBOX_CHANPM, (
- (1 << VCPROP_POWER_SDCARD) |
- (1 << VCPROP_POWER_UART0) |
- (1 << VCPROP_POWER_USB) |
- (1 << VCPROP_POWER_I2C0) |
- (1 << VCPROP_POWER_I2C1) |
- (1 << VCPROP_POWER_SPI) |
- 0) << 4);
-
return;
clean_dmamap: