freebsd-src/sys/arm/freescale/imx
Eitan Adler 7a22215c53 Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U << 31) which gets the
expected result.

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.

Discussed with:	-arch, rdivacky
Reviewed by:	cperciva
2013-11-30 22:17:27 +00:00
..
common.c Update copyright date. 2013-05-08 09:42:50 +00:00
console.c Tweak the imx debug console code so that it works with multiple SoCs. 2013-08-03 13:31:10 +00:00
files.imx6 Switch to use common ARMv6/v7 bus_space tag. 2013-11-06 09:44:32 +00:00
files.imx51 Switch to use common ARMv6/v7 bus_space tag. 2013-11-06 09:44:32 +00:00
files.imx53 Switch to use common ARMv6/v7 bus_space tag. 2013-11-06 09:44:32 +00:00
i2c.c Update copyright date. 2013-05-08 09:42:50 +00:00
imx6_anatop.c Add stubbed-out imx6 support for clocks and power management. This 2013-10-31 15:04:23 +00:00
imx6_anatopreg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
imx6_anatopvar.h Add stubbed-out imx6 support for clocks and power management. This 2013-10-31 15:04:23 +00:00
imx6_ccm.c Add stubbed-out imx6 support for clocks and power management. This 2013-10-31 15:04:23 +00:00
imx6_ccmreg.h Add stubbed-out imx6 support for clocks and power management. This 2013-10-31 15:04:23 +00:00
imx6_machdep.c Apparently with "const uint32_t foo = 0x60;" gcc doesn't consider 'foo' 2013-11-10 21:12:42 +00:00
imx6_pl310.c Add the Soc- / machine-dependent parts of imx6 support. 2013-11-01 00:21:09 +00:00
imx6_usbphy.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
imx51_ccm.c Add some bare-bones support for enabling usb and usbphy clocks. This 2013-10-30 14:33:15 +00:00
imx51_ccmreg.h Add some bare-bones support for enabling usb and usbphy clocks. This 2013-10-30 14:33:15 +00:00
imx51_ccmvar.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx51_dpllreg.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx51_gpio.c Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards. 2013-09-01 20:15:35 +00:00
imx51_iomux.c Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards. 2013-09-01 20:15:35 +00:00
imx51_iomuxreg.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx51_iomuxvar.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx51_ipuv3.c Remove #include <machine/frame.h> from all the arm code that doesn't 2013-10-27 01:34:10 +00:00
imx51_ipuv3reg.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx51_machdep.c Remove local devmap code and use the essentially identical common code 2013-11-05 05:18:18 +00:00
imx51_sdmareg.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx51_ssireg.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx51_tzicreg.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx53_machdep.c Remove local devmap code and use the essentially identical common code 2013-11-05 05:18:18 +00:00
imx_gpt.c Reset the timer interrupt status register at the top rather than bottom of 2013-10-31 02:11:35 +00:00
imx_gptreg.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
imx_gptvar.h Update copyright date. 2013-05-08 09:42:50 +00:00
imx_machdep.c Remove local devmap code and use the essentially identical common code 2013-11-05 05:18:18 +00:00
imx_machdep.h Revamp the SoC identity numbering scheme to be more in line with the way 2013-10-31 23:05:05 +00:00
imx_nop_usbphy.c Add a "no-op" USB PHY driver for imx-family SoCs. This is used when the 2013-10-30 14:38:24 +00:00
imx_sdhci.c Bugfix: the attach routine needs to use the same table of fdt compat 2013-11-02 22:44:35 +00:00
imx_wdog.c Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards. 2013-09-01 20:15:35 +00:00
imx_wdogreg.h Update copyright date. 2013-05-08 09:42:50 +00:00
std.imx6 Add the Soc- / machine-dependent parts of imx6 support. 2013-11-01 00:21:09 +00:00
std.imx51 Rename the existing std.imx and imx.files to std.imx51 and files.imx51, to 2013-07-28 17:37:30 +00:00
std.imx53 Initial support for the Digi ConnectCore(c) i.MX53 / Wi-i.MX53 boards. 2013-09-01 20:15:35 +00:00
tzic.c Teach nexus(4) about Open Firmware (e.g. FDT) on ARM and MIPS, retiring 2013-11-05 13:48:34 +00:00