fusee: Improve integration with the new logging system
fusee: Implement log level configuration from BCT.ini
This commit is contained in:
@@ -14,12 +14,6 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
#include <malloc.h>
|
||||
#include <sys/iosupport.h>
|
||||
#include "console.h"
|
||||
#include "di.h"
|
||||
#include "display/video_fb.h"
|
||||
@@ -181,7 +175,6 @@ void *console_get_framebuffer(bool enable_display) {
|
||||
if (g_framebuffer != NULL && enable_display) {
|
||||
console_init_display();
|
||||
}
|
||||
|
||||
return g_framebuffer;
|
||||
}
|
||||
|
||||
@@ -189,8 +182,6 @@ int console_display(const void *framebuffer) {
|
||||
if (!g_display_initialized) {
|
||||
console_init_display();
|
||||
}
|
||||
|
||||
/* TODO: does this work? */
|
||||
display_init_framebuffer((void *)framebuffer);
|
||||
return 0;
|
||||
}
|
||||
@@ -199,7 +190,6 @@ int console_resume(void) {
|
||||
if (!g_display_initialized) {
|
||||
console_init_display();
|
||||
} else {
|
||||
/* TODO: does this work? */
|
||||
display_init_framebuffer(g_framebuffer);
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user