Commit Graph

27 Commits (a844275f37ae06b2097c6f33545f1958ec9a90d1)

Author SHA1 Message Date
Florian Fainelli 8236584b13 rename interrupt number constants
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34566
2012-12-06 22:41:14 +00:00
Florian Fainelli f1e4da0389 remove the now deprecated /proc/adm8668 interface
Proper gpiolib support is hooked instead.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34565
2012-12-06 22:41:09 +00:00
Florian Fainelli 849662a8ec add a gpiolib driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34564
2012-12-06 22:41:04 +00:00
Florian Fainelli 78b235cfc3 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>

SVN-Revision: 34563
2012-12-06 22:40:58 +00:00
Florian Fainelli a5aed4ec3a add support for on-board EHCI controller
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34561
2012-12-06 22:40:49 +00:00
Florian Fainelli 88f6bf64cf remove the "old" tulip forked driver
We can now use the mainline tulip driver.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34559
2012-12-06 22:40:40 +00:00
Florian Fainelli 40ab1facd2 use the tulip platform driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34558
2012-12-06 22:40:36 +00:00
Florian Fainelli 445e77fdb5 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>

SVN-Revision: 34557
2012-12-06 22:40:31 +00:00
Florian Fainelli b1f1381c27 move clock frequencies into clock driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34556
2012-12-06 22:40:26 +00:00
Florian Fainelli 1232f91efb replace the custom mtd driver with a partition parser
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34554
2012-12-06 22:40:17 +00:00
Florian Fainelli b516c8d89d 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>

SVN-Revision: 34553
2012-12-06 22:40:12 +00:00
Florian Fainelli 1ed763b888 cleanup and make interrupt code more robust
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34552
2012-12-06 22:40:02 +00:00
Florian Fainelli 47ccbaaa91 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>

SVN-Revision: 34551
2012-12-06 22:39:57 +00:00
Florian Fainelli e37f6fb458 provide a system clock to be used by the MIPS timer
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34550
2012-12-06 22:39:52 +00:00
Florian Fainelli 79c2ce01b7 get rid of the UART defines
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34549
2012-12-06 22:39:47 +00:00
Florian Fainelli afc2b07be1 get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34548
2012-12-06 22:39:43 +00:00
Florian Fainelli 2dee2133c5 implement early_printk without an early_console
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34547
2012-12-06 22:39:33 +00:00
Florian Fainelli f85115efd8 simplify IRQ controller code
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34546
2012-12-06 22:39:27 +00:00
Florian Fainelli 50303d52e2 use platform_add_devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34545
2012-12-06 22:39:22 +00:00
Florian Fainelli 192c1e90bc move time related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34544
2012-12-06 22:39:18 +00:00
Florian Fainelli 1f939889ca move setup-related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34543
2012-12-06 22:39:08 +00:00
Gabor Juhos 1a0ef04231 adm8668: merge 3.3 fixes
SVN-Revision: 31497
2012-04-28 10:41:43 +00:00
Florian Fainelli dcbeaed9a0 mark variables as might be unused
SVN-Revision: 30787
2012-03-02 13:23:38 +00:00
Florian Fainelli 2dc1c8ac70 remove unused variables and defines
SVN-Revision: 30786
2012-03-02 13:23:35 +00:00
Florian Fainelli cc8228dbc6 fix firstboot with new MTD map driver
my-mkimage previously did not include the fs_mark of deadc0de because
upon formatting of jffs2 partition, U-Boot's CRC validation would not
allow the image to boot. This new MTD map will shrink the
kernel+rootfs+fs_mark image and recalculate the CRC, so that only the
kernel is part of the image validation. This also improves boot time,
since less is copied from FLASH->RAM. This is mostly from brcm47xx,
just with u-boot image vs TRX partitions.

Signed-off-by: Scott Nicholas <scott.nicholas@scottn.us>

SVN-Revision: 25176
2011-01-27 21:50:00 +00:00
Florian Fainelli a5adea5c2a 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>

SVN-Revision: 25175
2011-01-27 21:49:56 +00:00
Florian Fainelli d9a42c5436 Merge branch 'adm8668'
SVN-Revision: 23900
2010-11-06 18:54:20 +00:00