mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 17:08:52 +09:00
![Mike Frysinger](/assets/img/avatar_default.png)
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>
17 lines
498 B
C
17 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 */
|