summaryrefslogtreecommitdiff
path: root/sys/arch/armv7
AgeCommit message (Collapse)Author
2014-06-20Fix a wrong comparison in the interrupt handler.Raphael Graf
ok syl@
2014-05-31Revert previous diff setting cold to 1 on shutdown because it breaks machineMartin Pieuchot
with softraid(4) disks. softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter does not allow to sleep.
2014-05-30Set cold to 1 before executing the DVACT_POWERDOWN handlers when halting orMartin Pieuchot
rebooting a machine, like it is done in the hibernate case. At least some USB host controller drivers rely on this to busy way instead of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in. ok deraadt@, uebayashi@
2014-05-19There is no need to remember which usb(4) device is the child of an USBMartin Pieuchot
host controller because autoconf(9) already does it. Breakage reported by todd@
2014-05-08Format string fixes and removal of -Wno-format for arm kernels.Miod Vallat
2014-05-06remove cpsw_{read,write}_4 wrapper functions and just use the realJasper Lievisse Adriaanse
bus_space_{read,write}_4 instead. tested by nick@, ok bmercer@
2014-04-25test dt_min for invalid minute values instead of testing dt_sec twiceJonathan Gray
ok bmercer@
2014-04-14move the hardware structures into ahcireg.h.David Gwynne
2014-04-07Add axen(4) wherever axe(4) is.Brad Smith
ok mpi@ yuo@
2014-03-29It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
ok dlg@ mpi@ deraadt@
2014-03-18Initialize len, from netbsdRaphael Graf
ok syl@, bmercer@, jasper@
2014-03-18Add missing parts of the tiic driver.Sylvestre Gallon
inspired by rapha@ ok rapha@, jasper@
2014-03-13get rid of the assumption that the head of the alldevs list is theDavid Gwynne
"mainbus" device. this breaks when mpath is enabled because it attaches before mainbus and therefore takes the head position. have autoconf provide device_mainbus() which looks up mainbus_cd, and use that instead. discussed with deraadt who just wants mpath stuff to move forward despite there being many ways to shine this particular turd.
2014-03-05Remove TIMEZONE and DST options from GENERIC-* kernels.Miod Vallat
Remove APERTURE, DDB_SAFE_CONSOLE and *_DEBUG from RAMDISK-* kernels. Add option USBVERBOSE to all kernels.
2014-02-02armv7_start.o needs an explicit dependency on assym.h now; nickMiod Vallat
2014-02-01Do not include <machine/pmap.h> from .S code, for it brings much too .S-unawareMiod Vallat
headers. Instead, rely upon "assym.h" bringing the defines we need from it. Found the hard way by nick@
2013-12-11do not include empty (and already removed) files; ok syl@Christian Weisgerber
2013-12-11remove empty files; ok syl@Christian Weisgerber
2013-12-08reflect reality, mark as NOOBJMarc Espie
"sure" deraadt@
2013-12-08Enable rum(4) for armv7. Committing through it on pandaboard.Martynas Venckus
OK rapha@, jasper@.
2013-12-04Looks like the eMMC does no like block read request lower than blockSylvestre Gallon
size. Rever the bsize to default 512 to fix the problem while a proper fix is worked on. Spotted by rapha@ ok rapha@, fgsch@
2013-11-261 << 31 cleanup. Eitan Adler pointed out that there has been aTheo de Raadt
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu
2013-11-24I2C driver for am335x, ported from netbsd, not enabled yet.Raphael Graf
"Commit the driver code" deraadt@
2013-11-20Add gpio(4) support for omap3/4 and am335x.Raphael Graf
Feedback by patrick and syl, tested by syl on BeagleBoard and BBB. ok syl@
2013-11-15Added dev/usb/if_ugl.c, a driver for Genesys Logic GL620USB-Asasano
USB host-to-host link cable. This driver is derived from upl(4).
2013-11-15Start cleaning this driver. No functional change.Federico G. Schwindt
input and ok to move forward dlg@ patrick@ syl@
2013-11-13Add missing includes.Sylvestre Gallon
Unbreak armv7 compilation. ok rapha@ "commit the fix" from deraadt@
2013-11-13boot(): Don't forget calling if_downall() and uvm_shutdown() on arm ports.Masao Uebayashi
"Unification good" deraadt@
2013-11-12Implement sd card detection. Fixes the `sdmmc0: can't enable card' on bbbFederico G. Schwindt
when there is no card. Tested on pandaboard by patrick@, ok patrick@ and syl@
2013-11-08fix bootstrap_bs_map to map more than one section.aalm
ok patrick@, fgsch@
2013-11-06forgot armv7/armv7 files...Sylvestre Gallon
2013-11-06After factorizing armv7_machdep code here is an effort to factorize allSylvestre Gallon
the code present in omap/omap.c imx/imx.c and sunxi/sunxi.c All this code looks quite the same, so we move it in a generic armv7/armv7.c This is a step closer to only one kernel for all armv7 boards. ok patrick@, rapha@
2013-11-04Rename beagle_machdep.c to omap_machdep.cSylvestre Gallon
ok rapha@, jasper@, bmercer@, patrick@
2013-11-04remove iop(4) driver. it is entirely unmaintained and supports somethingTheo de Raadt
which basically doesn't exist at all. reminded about it by brad
2013-11-03Include "gpio.h"Raphael Graf
ok jasper@
2013-11-01adds a few modules used by upcoming drivers, and support for disablingaalm
modules. ok jasper@
2013-11-01crank MINIROOTSIZE needed so the ramdisks will fit againJasper Lievisse Adriaanse
ok patrick@
2013-11-01when we fail to power up the AHCI phy don't bother trying to makeJasper Lievisse Adriaanse
things work; just fail. committing on behalf of aalm@
2013-11-01rewrite omdog somewhat and hook it into the watchdog framework.Federico G. Schwindt
tested by syl@ and myself. syl@ ok.
2013-10-31remove commented gpio(4) entry which makes no sense to have on the ramdiskJasper Lievisse Adriaanse
ok aalm@
2013-10-31add proper guard around gpiobus_print() to allow RAMDISK-SUNXI to compileJasper Lievisse Adriaanse
ok aalm@
2013-10-30Put all the generic machdep code in armv7_machedep.cSylvestre Gallon
Cleanup the machdep code removing: - useless includes - useless globals and prototypes - useless #if 0 and #if 1 - some style(9) issues This commit will make the bringup of new SoC easier. ok patrick@ jasper@ rapha@
2013-10-30Add missing rcsid.Sylvestre Gallon
ok patrick@ jasper@
2013-10-28Enable blocksize > 512 and cleanup ommmc_attach().Sylvestre Gallon
ok patrick@. With some input from Dale Rahn, Thanks!
2013-10-28Revamp ARMv7 ramdisk and miniroot creation process.Patrick Wildt
Instead of running mkuboot during install, we call it on during the release build, so that we can also ship bootable images of the generic and the ramdisk kernel. We can now build miniroots for imx, too. The installer also can recognize the SoC and makes decision based on it. Use ext2fs for i.MX6 based devices. Tar the bootloader files to save some space. ok syl@
2013-10-28Remove unused variable.Patrick Wildt
spotted by rapha@
2013-10-28Make prcm(4) aware of the GPIO modules.Raphael Graf
ok aalm@, jasper@
2013-10-28We need to make sure that the kernel symbols area isn't marked as freePatrick Wildt
space. For this we only have to use the esym marker instead of _end.
2013-10-27fix card-detect pins for wandboard.aalm
we count from zero, unlike freescale. spotted by and ok patrick@
2013-10-27Fix timer on for A20 as the address and offsets for the A20 counter were off.Jasper Lievisse Adriaanse
from Markus Hennecke, ok aalm@