Eugene Konev
0a754c1f8f
We have generic irqs now.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-19 00:52:40 +00:00
Matteo Croce
e4857ea1bf
detect ar7 at runtime in set_except_vector and remove useless volatile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-17 12:45:38 +00:00
Matteo Croce
36259bb88b
don't broke other archs, we're close to mainstream (i hope)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 20:26:54 +00:00
Eugene Konev
995625e575
fix previous commit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 05:30:11 +00:00
Eugene Konev
c9df409532
add *dma_mask's to cpmacs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 04:49:47 +00:00
Eugene Konev
084c153873
fix watchdog seek test ( #2383 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-14 04:46:34 +00:00
Eugene Konev
f2d2643f56
fix CAC_ADDR/UNCAC_ADDR macros
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-13 07:16:26 +00:00
Eugene Konev
21b87d0632
mmzone.h is not needed anymore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-13 07:07:46 +00:00
Eugene Konev
a60a102d0d
128 irqs is not enough...
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-13 06:21:27 +00:00
Eugene Konev
22fb37c99b
copy-paste typo, lost static's
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-13 06:20:29 +00:00
Matteo Croce
2f321d2190
use ebase instead of CAC_BASE, some cosmetic fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 17:48:46 +00:00
Matteo Croce
8a62330b65
Enabled working ar7_wdt, style cleanups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 16:15:12 +00:00
Matteo Croce
09cd45b07a
added ar7_wdt fix by Alex
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 15:30:00 +00:00
Matteo Croce
cb6ff629c0
Style fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 13:21:02 +00:00
Eugene Konev
6c126cc6c9
there is no need in two identical actions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 12:27:06 +00:00
Eugene Konev
5fc0f0b3f4
vlynq cleanups:
...
* drivers can now set a clock divisor
* irq handling cleanup, drivers now can handle error irqs themselves
* style cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-12 12:23:56 +00:00
Matteo Croce
d807fe3642
more AR7 cleanups & fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 23:50:02 +00:00
Matteo Croce
54801484c2
no memset after kzalloc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 22:40:06 +00:00
Matteo Croce
676cd0d3fc
AR7: Cleanups ( closes : #2323 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 21:19:57 +00:00
Nicolas Thill
72697abd46
disable dsp freq use for vlynq bus clock init, disable external clocking (it locks up on c54apra2+) and revert to internal clocking trying various clock divisors.
...
cleanup:
* remove volative and use readl & writel accessors instead
* use set_irq_chip & friends for irq setup
* use kzalloc instead of kmalloc
* secure VINT_VECTOR macro argument
* remove unused vlynq_local_id function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 14:50:43 +00:00
Nicolas Thill
2cbb04e2df
fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:44:55 +00:00
Eugene Konev
9a55b3cfc0
Style cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:42:23 +00:00
Eugene Konev
ce3dc5f6e3
Style cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:18:51 +00:00
Eugene Konev
18b0a1ed92
AR7: IRQ handlng cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 13:07:52 +00:00
Florian Fainelli
5c4217398f
AR7 will also be running in big-endian on zyxel devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 06:43:59 +00:00
Florian Fainelli
9dd02c677e
Remove useless EXTRA_CFLAGS stuff
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 06:43:27 +00:00
Florian Fainelli
a9591b4990
Fix comments to the mtd driver (see http://www.linux-mips.org/archives/linux-mips/2007-09/msg00064.html )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-11 06:32:05 +00:00
Felix Fietkau
6665a2c1dc
adapt profiles for subtarget changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 20:04:43 +00:00
Felix Fietkau
6bcd07afdd
major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 19:55:42 +00:00
Eugene Konev
af244c496b
Use PHYS_OFFSET.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 09:16:30 +00:00
Eugene Konev
d7c5042bd3
Add TNETW1350 to known devices. Style cleanups.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-08 09:02:44 +00:00
Nicolas Thill
6e0a34151b
cosmetic fixes for ar7: indent, use lowercase hex notation, format
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 19:35:08 +00:00
Felix Fietkau
92558d67a4
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00