Browse Source

ls3a7a dc resolution can change in conf file.

Change-Id: Iacffdd5a8645b40be6d662877b5c989db7235012
Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
QiaoChong 5 years ago
committed by Chong Qiao
parent
commit
db83b35124
  1. 8
      Targets/Bonito3a3000_7a/dev/dc.c

8
Targets/Bonito3a3000_7a/dev/dc.c

@ -25,10 +25,14 @@ typedef unsigned long dma_addr_t;
#define write_reg(addr,val) writel(val,addr)
#define FB_XSIZE 800
#define FB_YSIZE 600
//#define FB_XSIZE 1920
//#define FB_YSIZE 1080
#ifndef FB_XSIZE
#define FB_XSIZE 800
#endif
#ifndef FB_YSIZE
#define FB_YSIZE 600
#endif
#define DIS_WIDTH FB_XSIZE
#define DIS_HEIGHT FB_YSIZE
#define EXTRA_PIXEL 0

Loading…
Cancel
Save