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
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
ad5dd97743
Blackfin arch: make sure L2 start and length are always defined (fixes building on BF542)
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
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
6d0b8c993d
Blackfin arch: remove non-bf54x ifdef logic since this file is only compiled on bf54x parts
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
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
Mike Frysinger
664d0403f9
Blackfin arch: fix end address for parallel flash and increase kernel partition size to 4meg
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Sonic Zhang
8606801b03
Blackfin arch: flags of UART3 mem resource is missing
...
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Robin Getz
202d7bd95c
Blackfin arch: Make sure we program the correct values in only when necessary for MUSB driver
...
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
aca5e4aac8
Blackfin arch: add BF54x / BF52x Rotary Input device driver platform resource to board file
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
f4585a0847
Blackfin arch: only include asm/cplb.h when it is truly used
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
1ffb9bef23
Blackfin arch: add note about newer ezkits using PB4 for AD7877 instead of PJ11
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Bryan Wu
50041acbe4
Blackfin arch: use new platform data interface of musb to replace old one
...
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
Michael Hennerich
56f5f59052
Blackfin arch: Fix Bug - System with EMAC driver enabled - Core not idling
...
- Disable all bits in SIC_IWR unless we are going into a real (DPMC)
power saving mode. Any Interrupt can wake the core form it's idle state.
- Remove deep sleep mode as it is not going to be used anywhere:
We support sleep, sleep deeper and hibernate.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.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
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
0a6304a951
Blackfin arch: Add ISP1760 board resources to BF548-EZKIT
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
cc2e16bd35
Blackfin arch: add missing IORESOURCE_MEM flags to UART3
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
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
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
Michael Hennerich
b06dcee9c8
Blackfin arch: Remove bad and usless code
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
f086f23435
Blackfin arch: Cleanup no functional changes
...
Singed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
e4f7c0bf1f
[Blackfin] arch: protect linux/usb/musb.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
Jean Delvare
3760f73671
i2c: Convert most new-style drivers to use module aliasing
...
Based on earlier work by Jon Smirl and Jochen Friedrich.
Update most new-style i2c drivers to use standard module aliasing
instead of the old driver_name/type driver matching scheme. I've
left the video drivers apart (except for SoC camera drivers) as
they're a bit more diffcult to deal with, they'll have their own
patch later.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Jon Smirl <jonsmirl@gmail.com>
Cc: Jochen Friedrich <jochen@scram.de>
17 years ago
Michael Hennerich
3d7e6cf8f5
[Blackfin] arch: fix bug - allow SDH driver to be used as module
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
fe44193c55
[Blackfin] arch: Functional power management support: Remove broken cpu frequency scaling drivers
...
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
Bernd Schmidt
37fa24212e
[Blackfin] arch: Allow AD1836A board to be connected, either to SPORT2 or SPORT3.
...
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
Michael Hennerich
db68254f06
[Blackfin] arch: Apply Bluetechnix vendor patch
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
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
Bryan Wu
81d9c7f27d
[Blackfin] arch: add i2c board info struct and move to new-style i2c interface
...
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
Mike Frysinger
67f2d33ec0
[Blackfin] arch: fix build fails only include header files when enabled
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
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
Mike Frysinger
a01d7a76d8
[Blackfin] arch: this is an ezkit, not a stamp, so fixup the init function name
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Michael Hennerich
a680ae9bdd
[Blackfin] arch: Fix header file information
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
17 years ago
Bryan Wu
c051489df8
[Blackfin] arch: kill section mismatch warnings
...
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago