u-boot/arch/blackfin/cpu
Axel Lin 9868b14263 blackfin: gpio: Use proper mask for comparing function
The function return from P_FUNCT2MUX(per) takes 2 bits, however
for BF537_FAMILY with offset != 1 the function is 1 bit.

Also has small refactor for better readability.
In portmux_setup(), it looks odd having "muxreg &= ~(3 << 1);"
while in current code we do muxreg |= (function << offset);.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
2013-07-31 16:56:03 +08:00
..
.gitignore Blackfin: add init.elf helper code 2011-07-12 02:17:45 -04:00
bootrom-asm-offsets.awk blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
bootrom-asm-offsets.c.in Make sure that argv[] argument pointers are not modified. 2010-07-04 23:55:42 +02:00
cache.S linkage.h: move from blackfin to common includes 2012-02-12 15:03:26 -05:00
cpu.c blackfin: Move blackfin serial driver out of blackfin arch folder. 2013-05-13 16:30:26 +08:00
cpu.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
gpio.c blackfin: gpio: Use proper mask for comparing function 2013-07-31 16:56:03 +08:00
init.lds.S Blackfin: add init.elf helper code 2011-07-12 02:17:45 -04:00
init.S Blackfin: add init.elf helper code 2011-07-12 02:17:45 -04:00
initcode.c blackfin: Add comments for watchdog event initialization. 2013-05-13 16:30:26 +08:00
initcode.h blackfin: bf60x: Port blackfin core architecture code to boot on bf60x. 2013-03-04 13:42:06 +08:00
interrupt.S Blackfin: set up simple NMI handlers for anomaly 05000219 2010-07-05 04:18:18 -04:00
interrupts.c Timer: Remove reset_timer() for non-Nios2 arches 2011-07-26 14:53:30 +02:00
jtag-console.c serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI 2012-10-15 11:53:51 -07:00
Makefile bfin: Move gpio support for bf54x and bf60x into the generic driver folder. 2013-05-13 16:30:27 +08:00
os_log.c blackfin: Move cpu/blackfin/* to arch/blackfin/cpu/* 2010-04-13 09:13:25 +02:00
reset.c blackfin: bf60x: Port blackfin core architecture code to boot on bf60x. 2013-03-04 13:42:06 +08:00
start.S Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
traps.c Blackfin: traps: fix up printf warnings from debug 2011-11-18 22:13:26 -05:00
u-boot.lds Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00