Florian Fainelli
7e958dede6
adm8668: revert changeset 34554
...
The conversion was not 100% correct and leads to u-boot failing to
verify the CRC, revert that change for now.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-16 18:09:31 +00:00
Florian Fainelli
c267184a6b
[adm8668] rename interrupt number constants
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:41:14 +00:00
Florian Fainelli
037e520858
[adm8668] remove the now deprecated /proc/adm8668 interface
...
Proper gpiolib support is hooked instead.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:41:09 +00:00
Florian Fainelli
5d23ae4a89
[adm8668] add a gpiolib driver
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:41:04 +00:00
Florian Fainelli
9efcb6346b
[adm8668] do not reset WAN and LAN blocks
...
This is taken care of by the tulip driver accordingly.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:58 +00:00
Florian Fainelli
171050a53c
[adm8668] add support for on-board EHCI controller
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:49 +00:00
Florian Fainelli
a5e8a1fc3a
[adm8668] remove the "old" tulip forked driver
...
We can now use the mainline tulip driver.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:40 +00:00
Florian Fainelli
b891879be9
[adm8668] use the tulip platform driver
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:36 +00:00
Florian Fainelli
c10409530d
[adm8668] patch the tulip driver to accept a platform variant
...
Isolate the PCI specific parts and group them under CONFIG_TULIP_PCI
CONFIG_TULIP_PLATFORM can be enabled for a platform style Tulip driver.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:31 +00:00
Florian Fainelli
ffaa849baf
[adm8668] move clock frequencies into clock driver
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:26 +00:00
Florian Fainelli
81d62c4362
[adm8668] replace the custom mtd driver with a partition parser
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:17 +00:00
Florian Fainelli
cdf3b8f233
[adm8668] cleanup PCI controller code
...
At some point we should make the ADM5120 PCI controller driver a real
platform driver and share that one between the two targets.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:12 +00:00
Florian Fainelli
1a027d8005
[adm8668] cleanup and make interrupt code more robust
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:02 +00:00
Florian Fainelli
e3f29c6ca9
[adm8668] remove frequency from /proc/cpuinfo
...
This is not the place to expose it and duplicates code reading the
system frequency.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:57 +00:00
Florian Fainelli
580031c536
[adm8668] provide a system clock to be used by the MIPS timer
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:52 +00:00
Florian Fainelli
19bf4c0273
[adm8668] get rid of the UART defines
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:47 +00:00
Florian Fainelli
66455ce5e7
[adm8668] get rid of the specific UART driver and use AMBA PL010
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:43 +00:00
Florian Fainelli
f7b556bf27
[adm8668] implement early_printk without an early_console
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:33 +00:00
Florian Fainelli
c42e9b5f6a
[adm8668] simplify IRQ controller code
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:27 +00:00
Florian Fainelli
213368a9bd
[adm8668] use platform_add_devices
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:22 +00:00
Florian Fainelli
de49325c0a
[adm8668] move time related functions to their own file
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:18 +00:00
Florian Fainelli
f49b81ca58
[adm8668] move setup-related functions to their own file
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:08 +00:00
Gabor Juhos
2181972fae
adm8668: merge 3.3 fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-28 10:41:43 +00:00
Florian Fainelli
07f9cc1792
[adm8668] mark variables as might be unused
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:23:38 +00:00
Florian Fainelli
d5911ca4d5
[adm8668] remove unused variables and defines
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:23:35 +00:00
Florian Fainelli
2e7adc9de9
[adm8668] clean up mach-adm8668 includes
...
This patch cleans up the include directory, as they were from vendors
2.4 GPL source. Now only what's used is there.
Signed-off-by: Scott Nicholas <scott.nicholas@scottn.us>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 21:49:56 +00:00
Florian Fainelli
7592e73bac
Merge branch 'adm8668'
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 18:54:20 +00:00