Mike Frysinger
1390da4ee7
Blackfin arch: make sure cycles is marked as volatile so gcc doesnt reorder on us
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
ed061b7ac8
Blackfin arch: disable CONFIG_HW_RANDOM and CONFIG_DAB in defconfig files
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
8fb4f8f056
Blackfin arch: update cache flush prototypes with argument names to make them less mysterious
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
04be80ef0b
Blackfin arch: move bfin_addr_dcachable() and friends into the cacheflush header where it belongs
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
a92946bc6a
Blackfin arch: use the new bfin_addr_dcachable() function
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
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
Mike Frysinger
ded963a486
Blackfin arch: unify/cleanup cache code
...
- to be correct wrt to end ranges
- to be optimal with a one-instruction hardware loop
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
f51501551e
Blackfin arch: update AD7879 platform resources in board file
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Graf Yang
b4f5c58fd1
Blackfin arch: Zero out bss region in L1/L2 memory.
...
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Bryan Wu
121e598f5d
Blackfin arch: add read/write IO accessor functions to Blackfin
...
This is to kill some compiling warning on DM9000 netdev driver.
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Martin Schwidefsky
0b59268285
[PATCH] remove unused ibcs2/PER_SVR4 in SET_PERSONALITY
...
The SET_PERSONALITY macro is always called with a second argument of 0.
Remove the ibcs argument and the various tests to set the PER_SVR4
personality.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
17 years ago
Dominik Brodowski
459fc208ab
cpufreq: remove policy->governor setting in drivers initialization
...
As policy->governor is already set to CPUFREQ_DEFAULT_GOVERNOR in the
(always built-in) cpufreq core, we do not need to set it in the drivers.
This fixes the sparc64 allmodconfig build failure.
Also, remove a totally useles setting of ->policy in cpufreq-pxa3xx.c.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17 years ago
Sonic Zhang
ab2375f2fe
Blackfin Serial Driver: Fix bug - request UART2/3 peripheral mapped interrupts in PIO mode
...
Signed-off-by: Sonic Zhang <sonic.zhang@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
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
Michael Hennerich
e9fae189ca
Blackfin arch: Fix bogus str_ident check in gpio code
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
46aa04f9b6
Blackfin arch: AD7879 Touchscreen driver
...
Add AD7879 Touchscreen driver to the device structures
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Vitja Makarov
58c35bd31f
Blackfin arch: introducing bfin_addr_dcachable
...
This patch introduces bfin_addr_dcachable() predicate, that simply tests is
address in cachable region or not.
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Bryan Wu
3094c981f2
Blackfin arch: fix a typo in comments
...
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Graf Yang
fecc8d6d56
Blackfin arch: Remove useless head file
...
Signed-off-by: Graf Yang <graf.yang@analog.com>
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
cdbf4c3c5f
Blackfin arch: use the Blackfin on-chip ROM to do software reset when possible
...
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
Mike Frysinger
9a6f5ae1f1
Blackfin arch: bfin_reset() is an internal reboot function ... everyone should go through machine_restart()
...
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
f5623a3cf2
Blackfin arch: update board defconfigs
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Robin Getz
9f06c38fb2
Blackfin arch: Add optional verbose debug
...
Add optional verbose debug - which when turned off, quiets down
userspace errors. Saves ~8k of code/data for production systems
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
a88c71e436
Blackfin arch: emulate a TTY over the EMUDAT/JTAG interface
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
3c08f1d122
Blackfin arch: have is_user_addr_valid() check for overflows (like when address is -1)
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
d207a8c768
Blackfin arch: ptrace - fix off-by-one check on end of memory regions
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Michael Hennerich
2043f3f731
Blackfin arch: Enable framebuffer support for the BF526-EZkit TFT LCD display
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Javier Herrero
45138439e1
Blackfin arch: flash memory map and dm9000 resources updating
...
Signed-off-by: Javier Herrero <jherrero@hvsistemas.es>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Sonic Zhang
0cfbb3234c
Blackfin arch: early prink code still use uart core console functions to parse and set configure option string
...
Signed-off-by: Sonic Zhang <sonic.zhang@analog.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
Mike Frysinger
6c3fc69a17
Blackfin arch: avoid using actual config name in comment
...
avoid using actual config name in comment as a text search
is done to see what files need to be rebuilt
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Robin Getz
1d5ff7e27d
Blackfin arch: Fix bug - HW Errors never recover on BF548
...
The kernel does not properly clear the EBIU Error Master (EBIU_ERRMST) Register
on BF548, which causes the kernel to panic.
We need to make sure that we clear the EBIU_ERRMST (necessary on BF54x)
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Graf Yang
55f2feae3a
Blackfin arch: correct icache size in show_cpuinfo(), let c_start() return proper pointer
...
Signed-off-by: Graf Yang <graf.yang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
47664c1f86
Blackfin arch: give sys_strace proper entry markings
...
a global _sys_trace will cause the assembler to fail, it should be fixed in toolchain side firstly.
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
f5a817e3f7
Blackfin arch: ptrace - make sure PT_ORIG_R0 and PT_ORIG_P0 offsets are declared
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
cb4c173d94
Blackfin arch: use existing ptrace_disable() func to clear TRACE_BITS and create the opposite ptrace_enable()
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
d3ab3a62f5
Blackfin arch: ptrace - cleanup debug messages and style
...
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago
Mike Frysinger
dabaad5b90
Blackfin arch: fix bug -- PTRACE_PEEKDATA does not seem to work which breaks umoven() in strace
...
Don't add arbitrary offset when peeking at data
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
Sonic Zhang
f099f39acf
Blackfin arch: Make L2 SRAM cacheable
...
Signed-off-by: Sonic Zhang <sonic.zhang@analog.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
Sonic Zhang
27707d3e43
Blackfin arch: Fix bug - kernel build with config kernel debugging with remote gdb fails
...
Add some comment and fix duplicated VEC_EXCPT02
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
17 years ago