mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-21 12:46:28 -04:00
vision2: Fix build due to WEIM registers name change
commit 0015de1a (MX5: Make the weim structure complete) fixed the name for the WEIM registers in order to match with the MX51/MX53 manuals. Fix the WEIM register for vision2 board so that it can build again. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
This commit is contained in:
parent
47c3e074ad
commit
ea11382330
@ -169,11 +169,11 @@ static void setup_weim(void)
|
|||||||
{
|
{
|
||||||
struct weim *pweim = (struct weim *)WEIM_BASE_ADDR;
|
struct weim *pweim = (struct weim *)WEIM_BASE_ADDR;
|
||||||
|
|
||||||
pweim->csgcr1 = 0x004100b9;
|
pweim->cs0gcr1 = 0x004100b9;
|
||||||
pweim->csgcr2 = 0x00000001;
|
pweim->cs0gcr2 = 0x00000001;
|
||||||
pweim->csrcr1 = 0x0a018000;
|
pweim->cs0rcr1 = 0x0a018000;
|
||||||
pweim->csrcr2 = 0;
|
pweim->cs0rcr2 = 0;
|
||||||
pweim->cswcr1 = 0x0704a240;
|
pweim->cs0wcr1 = 0x0704a240;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setup_uart(void)
|
static void setup_uart(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user