| * Copyright (C) 2007 Lemote Inc. & Insititute of Computing Technology |
| * Author: Fuxin Zhang, zhangfx@lemote.com |
| * This program is free software; you can redistribute it and/or modify it |
| * under the terms of the GNU General Public License as published by the |
| * Free Software Foundation; either version 2 of the License, or (at your |
| * option) any later version. |
| #include <linux/module.h> |
| #include <linux/console.h> |
| #include <linux/screen_info.h> |
| static void wbflush_loongson(void) |
| void (*__wbflush)(void) = wbflush_loongson; |
| EXPORT_SYMBOL(__wbflush); |
| void __init plat_mem_setup(void) |
| #if defined(CONFIG_VGA_CONSOLE) |
| screen_info = (struct screen_info) { |
| .orig_video_isVGA = VIDEO_TYPE_VGAC, |
| #elif defined(CONFIG_DUMMY_CONSOLE) |