freebsd-dev/sys/arm/ti
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
..
am335x [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
cpsw sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
omap4 Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
twl sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
usb sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
aintc.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
files.ti Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
std.ti Tag all armv7 kernels as such in their machine config line. 2017-10-05 23:01:50 +00:00
ti_adc.c Use the correct OF_getencprop over OF_getprop + fdt32_to_cpu to read 2016-11-14 12:03:08 +00:00
ti_adcreg.h Add evdev support to TI ADC/touchscreen driver 2016-09-11 19:08:21 +00:00
ti_adcvar.h Modularize evdev 2016-10-02 03:20:31 +00:00
ti_cpuid.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_cpuid.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_edma3.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ti_edma3.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_gpio_if.m Rework the Ti GPIO code to allow for both the OMAP4 and AM335X attachments 2014-10-18 17:51:34 +00:00
ti_gpio.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_gpio.h Start to remove the old pre-INTRNG code from the arm platforms. These have 2016-11-08 12:15:57 +00:00
ti_hwmods.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
ti_hwmods.h Add a routine to return the hardware instance/unit number from ti,hwmods, 2015-08-12 17:23:15 +00:00
ti_i2c.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_i2c.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_machdep.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_mbox.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_mbox.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_pinmux.c Resolv the remaining conflicting symbols between omap4 and am335x, and 2016-11-19 01:51:56 +00:00
ti_pinmux.h Switch TI platform support code from using FreeBSD's custom-baked DTS 2015-05-22 03:16:18 +00:00
ti_prcm.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_prcm.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_pruss.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_pruss.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_scm.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_scm.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_sdhci.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_sdma.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_sdma.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_sdmareg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_smc.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
ti_smc.S Fix the order of includes so machine/asm.h is first. 2016-11-07 11:56:18 +00:00
ti_spi.c ofw_spi: Parse property for the SPI mode and CS polarity. 2016-12-18 14:54:20 +00:00
ti_spireg.h Add the SPI driver for am335x. 2016-03-29 19:11:04 +00:00
ti_spivar.h Add the SPI driver for am335x. 2016-03-29 19:11:04 +00:00
ti_wdt.c Stop including fdt_common.h from the arm code when it's unneeded. 2016-11-14 11:41:22 +00:00
ti_wdt.h Add a driver for the TI watchdog. 2014-10-18 16:59:21 +00:00
tivar.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00