freebsd-skq/sys/arm/broadcom/bcm2835
Oleksandr Tymoshenko 108117cc22 [ofw] fix errneous checks for OF_finddevice(9) return value
OF_finddevices returns ((phandle_t)-1) in case of failure. Some code
in existing drivers checked return value to be equal to 0 or
less/equal to 0 which is also wrong because phandle_t is unsigned
type. Most of these checks were for negative cases that were never
triggered so trhere was no impact on functionality.

Reviewed by:	nwhitehorn
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D14645
2018-03-20 00:03:49 +00:00
..
bcm283x_dwc_fdt.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_audio.c [rpi] Fix bcm2835_audio locking and samples starvation 2016-12-27 19:08:08 +00:00
bcm2835_bsc.c Do not attempt to refill the TX fifo if there is no data left to transfer. 2017-12-18 02:34:37 +00:00
bcm2835_bscreg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_bscvar.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_clkman.c Add skeleton manual page for bcm283x_pwm 2018-01-22 07:43:54 +00:00
bcm2835_clkman.h Add a skeleton Clock Manager for RPi2/3, and use that from pwm 2018-01-22 07:10:30 +00:00
bcm2835_cpufreq.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
bcm2835_dma.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_dma.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_fb.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
bcm2835_fbd.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
bcm2835_ft5406.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
bcm2835_gpio.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
bcm2835_gpio.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_intr.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_machdep.c [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
bcm2835_mbox_prop.h Force framebuffer virtual viewport to be the same as physical 2016-04-20 22:38:00 +00:00
bcm2835_mbox.c Do pass removing some write-only variables from the kernel. 2017-12-25 04:48:39 +00:00
bcm2835_mbox.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_pwm.c Forgot to edit copy&pasted copyright blurb. 2018-01-22 07:15:24 +00:00
bcm2835_rng.c [rpi] remove IRQ support for BCM233x RNG 2018-03-10 02:49:58 +00:00
bcm2835_sdhci.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_spi.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_spireg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_spivar.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_systimer.c Switch to mainstream DTS for Raspberry Pi-B and Pi-2. 2018-02-27 15:01:17 +00:00
bcm2835_vcbus.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_vcio.c Remove some NULL checks after M_WAITOK allocations from sys/arm/. 2016-08-09 16:02:35 +00:00
bcm2835_wdog.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2835_wdog.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
bcm2836_mp.c Change leading spaces to tabs, no functional change. 2017-09-02 19:22:16 +00:00
bcm2836_mp.h RPI2: Add support for PLATFORM_SMP so we can later add it to GENERIC. 2016-09-29 06:54:02 +00:00
bcm2836.c [rpi3] Fix SMP build for FreeBSD/arm64 2016-11-24 00:39:17 +00:00
files.bcm283x Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
files.bcm2835 Build the cpufunc_asm_* files based on the cpu type, not which config file 2015-03-29 22:43:39 +00:00
files.bcm2836 Create device options for the two common ARM timers. 2015-11-21 16:23:56 +00:00
std.bcm2835 Add the SOC_BCM2835 and SOC_BCM2836 options for the arm kernel and add the 2015-03-24 18:46:01 +00:00
std.bcm2836 Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
std.rpi Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
vc_vchi_audioserv_defs.h