Modules/Tegra2Disp - Little fixes
authorJohn Hodge <[email protected]>
Sat, 14 Jan 2012 04:46:15 +0000 (12:46 +0800)
committerJohn Hodge <[email protected]>
Sat, 14 Jan 2012 04:46:15 +0000 (12:46 +0800)
BuildConf/armv7/tegra2.mk
Modules/Display/Tegra2/main.c

index ad78782..ece6ccf 100644 (file)
@@ -1,4 +1,4 @@
 
 include $(ACESSDIR)/BuildConf/armv7/default.mk
 
-#MODULES += Display/Tegra2
+MODULES += Display/Tegra2
index 493dd60..dfafb2a 100644 (file)
@@ -47,15 +47,12 @@ const tKeyVal_ParseRules    gTegra2Vid_KeyValueParser = {
        NULL,\r
        {\r
                {"Base", "P", &gTegra2Vid_PhysBase},\r
-               {"IsVersatile", "i", &gbTegra2Vid_IsVersatile},\r
                {NULL, NULL, NULL}\r
        }\r
 };\r
 // -- Driver state\r
  int   giTegra2Vid_CurrentMode = 0;\r
  int   giTegra2Vid_BufferMode;\r
- int   giTegra2Vid_Width = 640;\r
- int   giTegra2Vid_Height = 480;\r
 size_t giTegra2Vid_FramebufferSize;\r
 Uint8  *gpTegra2Vid_IOMem;\r
 tPAddr gTegra2Vid_FramebufferPhys;\r
@@ -71,7 +68,7 @@ int Tegra2Vid_Install(char **Arguments)
 {\r
 //     KeyVal_Parse(&gTegra2Vid_KeyValueParser, Arguments);\r
        \r
-       gpTegra2Vid_IOMem = (void*)MM_MapHWPages(gTegra2Vid_PhysBase, 1);\r
+       gpTegra2Vid_IOMem = (void*)MM_MapHWPages(gTegra2Vid_PhysBase, 256/4);\r
 \r
        Tegra2Vid_int_SetMode(4);\r
 \r

UCC git Repository :: git.ucc.asn.au