Robin Getz
9bebeff98e
Blackfin arch: fix bug - build kernel failed at head.S when reprogram clock on all platforms
...
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Graf Yang
b3ef5aba64
Blackfin Serial Driver: Fix bug - ircp fails on sir over Blackfin UART
...
We now use the sir_dev/irtty_sir/uart/bfin_serial drivers framework
to monitor the TX status.
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago
Mike Frysinger
c9607ecc6e
Blackfin Serial Driver: move common variables out of serial headers and into the serial driver
...
move common variables out of serial headers and into the serial driver and
rename "nr_ports" to "nr_active_ports" so as to easily differentiate
between BFIN_UART_NR_PORTS (the # of available) and nr_ports (the # of enabled)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago
Sonic Zhang
deffc6edac
Blackfin arch: fix bug - some serial header files set RTS to an input when they should all be outputs
...
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Robin Getz
71de1f8a63
Blackfin arch: make sure we include the fix for SPORT hysteresis when reprogramming clocks
...
As pointed out by Appalayagari Sreedhar, make sure we include the fix
for SPORT hysteresis when reprogramming clocks.
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
4e8086d65b
Blackfin arch: update anomaly headers to match the latest sheet
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Robin Getz
e482cad241
Blackfin arch: print out error/warning if you are running on the incorrect CPU type
...
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
0c0497c257
Blackfin arch: Move all the silicon rev handling to one place
...
Move all the silicon rev handling to one place (Kconfig) and
make sure we warn if you are running on silicon that has not been tested on
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Graf Yang
dd4354fa51
Blackfin arch: fix define error in BF561 memory map macros
...
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
3343c1d448
Blackfin arch: Fix BUG: anomaly_threshold is used with ANOMALY_05000363
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Sonic Zhang
a5ac012924
Blackfin arch: add supporting for kgdb
...
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Bryan Wu
639f657145
Blackfin arch: move include/asm-blackfin header files to arch/blackfin
...
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
7e1e7aed0c
Blackfin arch: do not muck with the UART during boot -- let the serial driver worry about it
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
9216bbc838
Blackfin arch: mark some functions as __init as they are only called from __init functions
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
17e89bcfa1
Blackfin arch: unify the duplicated portions of __start and split mach-specific pieces into _mach_early_start where they will be easier to trim over time
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
7e64acabfd
Blackfin arch: move async memory programming into common setup_arch() as the banks dont really need to be setup fully as early as head.S
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
09e1f70e31
Blackfin arch: unify the duplicated _real_start functions
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
778307d372
Blackfin arch: remove support for Anomaly 05000125 as it doesnt exist on any supported processor/silicon
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
fe5aeb9302
Blackfin arch: use symbolic IRQ_PF define rather than hardcoded
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
908089118d
Blackfin arch: remove pata resources from generic board
...
these are highly board specific, so putting into generic doesnt make much sense
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Robin Getz
aa58297763
Blackfin arch: be consistant with parition names, and ensure the bus is identified
...
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
68e2fc78e5
Blackfin arch: Fix bug - Kernel does not boot if re-program clocks
...
Don't write conflicting data to EBIU_SDBCTL after the SDRAM is
configured. This can cause data corruption, since we might change SDRAM
row and column addressing modes.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Jonathan Corbet
57debddaa1
bf561-coreb: BKL unneeded for open()
...
According to Mike Frysinger:
http://permalink.gmane.org/gmane.linux.kernel/699279
open() does not need the BKL, so take it back out.
17 years ago
Arnd Bergmann
9a8bd2f76c
bf561-coreb: BKL pushdown
...
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
17 years ago
Mike Frysinger
5bda27235b
Blackfin arch: protect only the SPI bus controller with CONFIG_SPI_BFIN
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
b964c592d4
[Blackfin] arch: protect linux/usb/isp1362.h include until the driver gets mainlined
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
14b03204c8
[Blackfin] arch: Functional power management support: Add CPU and platform voltage scaling support
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Graf Yang
5be36d22b2
[Blackfin] arch: add Blackfin on-chip SIR IrDA driver support
...
- add platform device resources in board files
- add new bfin_sir.h to each machines
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Grace Pan
ac76d889b5
[Blackfin] arch: Adjust the u-boot and kernel image partition size in mtd device.
...
Signed-off-by: Grace Pan <grace.pan@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Bernd Schmidt
7795566495
[Blackfin] arch: Give the DMA base registers a more descriptive name
...
The DMA base registers are available in a global named "base_addr" for
every Blackfin variant. Give this a more descriptive name, and remove
duplicate tables from some drivers.
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Bernd Schmidt
ac86a97853
[Blackfin] arch: Consistently export base_addr for all Blackfin variants.
...
Signed-off-by: Bernd Schmidt <bernds_cb1@t-online.de>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
3132b58679
[Blackfin] arch: theres no need to declare ram{end,start,base} in the head.S files
...
theres no need to declare ram{end,start,base} in the head.S files
when declaring them with the other memory related variables in setup.c
is so much simpler/nicer
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Graf Yang
6ed8394230
[Blackfin] arch: Resolve the clash issue of UART defines between blackfin headers and include/linux/serial_reg.
...
Signed-off-by: Graf Yang <graf.yang@analog.com>
Cc: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Harvey Harrison
b85d858b40
[Blackfin] arch: __FUNCTION__ is gcc-specific, use __func__
...
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
793dc27b51
[Blackfin] arch: conditionally enable flash resources since it requests the async memory bank
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
6e668936db
[Blackfin] arch: Encourage users to use the spidev character driver: Provide platform support
...
- Enable kernel generic spidev driver for blackfin SPI ADC
- spi_adc driver, document and test sample not synced
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Jeff Garzik
0a87e3e92b
Rename: linux/pata_platform.h to linux/ata_platform.h
...
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
17 years ago
Michael Hennerich
83d9cde08b
[Blackfin] arch: Enable NET2272 on BF561-EZkit - remove request_mem_region
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Michael Hennerich
e9d76c2d08
[Blackfin] arch: Add Support for ISP1362
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Mike Frysinger
cad2ab65dd
[Blackfin] arch: add board resources for new simple-gpio char driver
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
edf056417d
[Blackfin] arch: fix bug - set right partition size in the board files
...
- set default u-boot partition size to 256k
- modify the offset with the size change
- use mtd defines (append for offset and full for size)
where applicable rather than churning constants when we dont have to
Signed-off-by: Grace Pan <grace.pan@analog.com>
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
561cc18b86
Blackfin arch: add AXIS AX88180 Gigabit Ethernet Hardware and Driver to board files
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Mike Frysinger
de8c43f2fc
[Blackfin] arch: use common flash driver to setup partitions rather than the bf5xx-flash driver
...
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Bryan Wu
e31639540d
[Blackfin] arch: enable generic GPIO based I2C driver in STAMP-BF533, EZKIT-BF533 and EZKIT-BF561 boards
...
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Enrik Berkhan
76a7f40492
[Blackfin] arch: fix bug when DMA operation related core B of BF561
...
- Before DMA'ing data to core B L1 memory, caches have to be flushed.
- Before DMA'ing data from core B L1 memory, caches have to be invalidated.
- Fix lock/unlock.
Signed-off-by: Enrik Berkhan <Enrik.Berkhan@ge.com>
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Michael Hennerich
2463ef22bf
[Blackfin] arch: replace current blackfin specific pfbutton driver with kernel generic gpio key driver
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Michael Hennerich
0d4a89bb3e
[Blackfin] arch: add Hitachi TX09D70VM1CDA TFT LCD driver resource to Blackfin board
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Mike Frysinger
f02bcec598
Blackfin arch: relocate linux/usb_isp1362.h to linux/usb/isp1362.h like in newer linux trees
...
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Mike Frysinger
a055b2b4de
Blackfin arch: remove useless CONFIG_IRQCHIP_DEMUX_GPIO
...
since we have this always turned on now and dont want it off (and hasnt been an option in a while)
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Mike Frysinger
4f25eb85d6
Blackfin arch: split board selection off into mach subdirs
...
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago