forked from luck/tmp_suning_uos_patched
tridentfb: fix memory size detection
Fix memory size multiplier during detection. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: "Antonino A. Daplas" <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
3acd9d4620
commit
b614ce8b3c
|
@ -745,7 +745,7 @@ static unsigned int __devinit get_memsize(void)
|
|||
switch (tmp) {
|
||||
|
||||
case 0x01:
|
||||
k = 512;
|
||||
k = 512 * Kb;
|
||||
break;
|
||||
case 0x02:
|
||||
k = 6 * Mb; /* XP */
|
||||
|
|
Loading…
Reference in New Issue
Block a user