Switch DE4 to vt(4) and enable kbdmux

This commit is contained in:
Ed Maste 2014-08-07 17:06:57 -04:00
parent 9e53e3c8e0
commit 0f49259d59
3 changed files with 5 additions and 5 deletions

View file

@ -222,7 +222,7 @@ void terasic_mtl_blend_textfg_set(struct terasic_mtl_softc *sc,
void terasic_mtl_blend_textbg_set(struct terasic_mtl_softc *sc,
uint8_t alpha);
void terasic_mtl_reg_pixel_endian_set(struct terasic_mtl_softc *sc,
int big_endian);
int endian_swap);
/*
* Text frame buffer I/O routines.

View file

@ -205,13 +205,13 @@ terasic_mtl_blend_textbg_set(struct terasic_mtl_softc *sc, uint8_t alpha)
}
void
terasic_mtl_reg_pixel_endian_set(struct terasic_mtl_softc *sc, int big_endian)
terasic_mtl_reg_pixel_endian_set(struct terasic_mtl_softc *sc, int endian_swap)
{
uint32_t v;
TERASIC_MTL_LOCK(sc);
terasic_mtl_reg_blend_get(sc, &v);
if (big_endian)
if (endian_swap)
v |= TERASIC_MTL_BLEND_PIXEL_ENDIAN_SWAP;
else
v &= ~TERASIC_MTL_BLEND_PIXEL_ENDIAN_SWAP;

View file

@ -33,8 +33,8 @@ device cfi
device cfid
options CFI_SUPPORT_STRATAFLASH
options ATSE_CFI_HACK
device sc
#device vt
device vt
device kbdmux
device uart