mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-06 05:04:26 +00:00
4638b21f2e
The current pinmux handling has spread throughout Blackfin drivers and board code and is getting hideous to maintain. So import the gpio and portmux layer from the Blackfin Linux code. This should spur a serious of cleanups across the Blackfin tree. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
16 lines
498 B
C
16 lines
498 B
C
#define SWRST SICA_SWRST
|
|
#define SYSCR SICA_SYSCR
|
|
#define bfin_write_SWRST(val) bfin_write_SICA_SWRST(val)
|
|
#define bfin_write_SYSCR(val) bfin_write_SICA_SYSCR(val)
|
|
|
|
#define WDOG_CNT WDOGA_CNT
|
|
#define WDOG_CTL WDOGA_CTL
|
|
#define bfin_write_WDOG_CNT(val) bfin_write_WDOGA_CNT(val)
|
|
#define bfin_write_WDOG_CTL(val) bfin_write_WDOGA_CTL(val)
|
|
#define bfin_write_WDOG_STAT(val) bfin_write_WDOGA_STAT(val)
|
|
|
|
#include "gpio.h"
|
|
#include "portmux.h"
|
|
#include "ports.h"
|
|
|
|
#define BF561_FAMILY 1 /* Linux glue */
|