mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 13:29:33 +00:00
Remove obsolete patch
This commit is contained in:
parent
ff2bccd5b0
commit
ae7fdd86d0
1 changed files with 0 additions and 22 deletions
|
@ -1,22 +0,0 @@
|
|||
diff --git a/drivers/video/sunxi_display2.c b/drivers/video/sunxi_display2.c
|
||||
index db376d993..b64bd3648 100644
|
||||
--- a/drivers/video/sunxi_display2.c
|
||||
+++ b/drivers/video/sunxi_display2.c
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/io.h>
|
||||
#include <errno.h>
|
||||
+#include <malloc.h>
|
||||
#include <fdt_support.h>
|
||||
#include <video_fb.h>
|
||||
#include "videomodes.h"
|
||||
@@ -948,8 +949,7 @@ void *video_hw_init(void)
|
||||
sunxi_get_mon_desc(sunxi_display.monitor),
|
||||
overscan_x, overscan_y);
|
||||
|
||||
- gd->fb_base = gd->bd->bi_dram[0].start +
|
||||
- gd->bd->bi_dram[0].size - sunxi_display.fb_size;
|
||||
+ gd->fb_base = (unsigned long)memalign(0x1000, sunxi_display.fb_size);
|
||||
sunxi_engines_init();
|
||||
|
||||
fb_dma_addr = gd->fb_base;
|
Loading…
Add table
Add a link
Reference in a new issue