summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/at91_st.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the SoC stuff a little more modular, and start to move away fromimp2012-07-111-6/+16
| | | | | | | | | | | having the CPU device that's a child of atmelarm that does stuff. o Create a linker_set for the support fucntions for the SoCs. o Rename soc_data to soc_info. o Move the delay and reset function pointers to new soc_data struct o Create elements for all known SoCs o Add lookup of the SoC we found, and print a warning if it isn't one we know about.
* Pure style mischief. at91_$DEV_ rather than at91$DEV_ to matchimp2012-07-101-32/+32
| | | | others.
* Minor rework to eliminate at91rm9200reg.h dependency and possibly set theimp2012-07-101-55/+99
| | | | stage for a detach routine (unlikely to be useful, but while I was here..)
* Make it possible to link together a sam and an rm kernel. The resultsimp2012-06-151-34/+36
| | | | | | | aren't very pretty yet, but this takes DELAY and cpu_reset and makes them pointers. # I worry that these are set too late in the boot, especially cpu_reset.
* Take half a step closer towards having a unified atmel kernel byimp2012-06-151-13/+7
| | | | | rearranging where we initialize the time counter and putting the common stubs into a central place.
* Remove spurious 8bit chars, turning files into plain ASCII.uqs2012-01-151-1/+1
|
* Remove support for SKYEYE simulatorimp2011-01-051-15/+0
|
* Tweak the disclaimer section of the license to match COPYRIGHT, forimp2008-11-251-10/+11
| | | | | better or worse. Ok'd by folks that have additional copyrights to the files in cases where there's joint authorship.
* Revisit the watchdogs: Resetting the error to EINVAL after failing to set then_hibma2007-03-271-3/+1
| | | | | | | | watchdog might hide the succesful arming of an earlier one. Accept that on failing to arm any watchdog (because of non-supported timeouts) EOPNOTSUPP is returned instead of the more appropriate EINVAL. MFC after: 3 days
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-3/+5
| | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@
* MFp4: Use the next possible value for hz instead of defaulting to 128ticso2007-01-051-3/+6
| | | | Update tick value after modifying hz.
* Align the interfaces for the various watchdogs and make the interfacen_hibma2006-12-151-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | behave as expected. Also: - Return an error if WD_PASSIVE is passed in to the ioctl as only WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an explanation of the difference between WD_ACTIVE and WD_PASSIVE. - Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've lost your sense of humor, than don't add a define. Specific changes: i80321_wdog.c Don't roll your own passive watchdog tickle as this would defeat the purpose of an active (userland) watchdog tickle. ichwd.c / ipmi.c: WD_ACTIVE means active patting of the watchdog by a userland process, not whether the watchdog is active. See sys/watchdog.h. kern_clock.c: (software watchdog) Remove a check for WD_ACTIVE as this does not make sense here. This reverts r1.181.
* Hook into the watchdog device, if present. Also, turn off theimp2006-08-091-4/+41
| | | | | watchdog timer stuff when we boot because the boot blocks are turning it on...
* MFp4: elevate quality of slow clock a littleimp2006-07-141-1/+1
|
* Resurrect Skyeye support :cognet2006-05-131-1/+17
| | | | | | | | | | | | | Add a new option, SKYEYE_WORKAROUNDS, which as the name suggests adds workarounds for things skyeye doesn't simulate. Specifically : - Use USART0 instead of DBGU as the console, make it not use DMA, and manually provoke an interrupt when we're done in the transmit function. - Skyeye maintains an internal counter for clock, but apparently there's no way to access it, so hack the timecounter code to return a value which is increased at every clock interrupts. This is gross, but I didn't find a better way to implement timecounters without hacking Skyeye to get the counter value. - Force the write-back of PTEs once we're done writing them, even if they are supposed to be write-through. I don't know why I have to do that.
* MFp4:imp2006-03-181-2/+3
| | | | | | | | o Disable all interrupts that the ST can generate until we have an ISR to service them. o Correct clock calculation to make DELAY the right length... Submitted by: cognet (#2)
* Import support for the Atmel AT91RM9200 CPU/Microcontroller. This SoCimp2006-02-041-0/+215
is a ARM920T based CPU with a bunch of built-in peripherals. The inital import supports the SPI bus, the TWI bus (although iicbus integration is not complete), the uarts, the system timer and the onboard ethernet. Support for the Kwikbyte KB9202 (http://www.kwikbyte.com) board is also included, although there's no reason why the 9200 and the 9201 wouldn't also work. Primitive support for running under the skyeye emulator is also provided (although skyeye's support for the AT91RM9200 is a little weak). The code has been structured so that other members of Atmel's arm family can be supported in the future. The AT91SAM9260 is not presently supported due to lack of hardware. The arm7tdmi families are also not supported becasue they lack an MMU. Many thanks to cognet@ for his help and assistance in bringing up this board. He did much of the vm work and wrote parts of the uart and system timer code as well as the bus space implementation. The system boots to single user w/o problem, although the serial console is a little slow and the ethernet driver is still in flux. This work was sponsored by Timing Solutions, Corporation. I am grateful to their support of the FreeBSD project in this manner.
OpenPOWER on IntegriCloud