mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 20:18:54 -04:00
Coding Style cleanup, update CHANGELOG
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
2eb6e01049
commit
435dc8fcdb
@ -23,7 +23,6 @@
|
|||||||
* MA 02111-1307 USA
|
* MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <i2c.h>
|
#include <i2c.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
@ -32,14 +31,12 @@
|
|||||||
|
|
||||||
#include "fsl_diu_fb.h"
|
#include "fsl_diu_fb.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
#define DPRINTF(fmt, args...) printf("%s: " fmt,__FUNCTION__,## args)
|
#define DPRINTF(fmt, args...) printf("%s: " fmt,__FUNCTION__,## args)
|
||||||
#else
|
#else
|
||||||
#define DPRINTF(fmt, args...)
|
#define DPRINTF(fmt, args...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
struct fb_videomode {
|
struct fb_videomode {
|
||||||
const char *name; /* optional */
|
const char *name; /* optional */
|
||||||
unsigned int refresh; /* optional */
|
unsigned int refresh; /* optional */
|
||||||
@ -182,8 +179,6 @@ struct diu_addr {
|
|||||||
|
|
||||||
#define MAX_CURS 32
|
#define MAX_CURS 32
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static struct fb_info fsl_fb_info;
|
static struct fb_info fsl_fb_info;
|
||||||
static struct diu_addr gamma, cursor;
|
static struct diu_addr gamma, cursor;
|
||||||
static struct diu_ad fsl_diu_fb_ad __attribute__ ((aligned(32)));
|
static struct diu_ad fsl_diu_fb_ad __attribute__ ((aligned(32)));
|
||||||
@ -206,7 +201,6 @@ static int fsl_diu_disable_panel(struct fb_info *info);
|
|||||||
static int allocate_buf(struct diu_addr *buf, u32 size, u32 bytes_align);
|
static int allocate_buf(struct diu_addr *buf, u32 size, u32 bytes_align);
|
||||||
static u32 get_busfreq(void);
|
static u32 get_busfreq(void);
|
||||||
|
|
||||||
|
|
||||||
int fsl_diu_init(int xres,
|
int fsl_diu_init(int xres,
|
||||||
unsigned int pixel_format,
|
unsigned int pixel_format,
|
||||||
int gamma_fix,
|
int gamma_fix,
|
||||||
|
@ -39,14 +39,14 @@
|
|||||||
|
|
||||||
/* Clock config to target*/
|
/* Clock config to target*/
|
||||||
#define PRCM_CONFIG_I 1
|
#define PRCM_CONFIG_I 1
|
||||||
//#define PRCM_CONFIG_II 1
|
/* #define PRCM_CONFIG_II 1 */
|
||||||
|
|
||||||
/* Boot method */
|
/* Boot method */
|
||||||
/* uncomment if you use NOR boot */
|
/* uncomment if you use NOR boot */
|
||||||
//#define CFG_NOR_BOOT 1
|
/* #define CFG_NOR_BOOT 1 */
|
||||||
|
|
||||||
/* uncomment if you use NOR on CS3 */
|
/* uncomment if you use NOR on CS3 */
|
||||||
//#define CFG_USE_NOR 1
|
/* #define CFG_USE_NOR 1 */
|
||||||
|
|
||||||
#ifdef CFG_NOR_BOOT
|
#ifdef CFG_NOR_BOOT
|
||||||
#undef CFG_USE_NOR
|
#undef CFG_USE_NOR
|
||||||
@ -223,7 +223,7 @@
|
|||||||
*/
|
*/
|
||||||
# define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
# define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
|
||||||
# define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */
|
# define CFG_FLASH_CFI_DRIVER 1 /* Use drivers/cfi_flash.c */
|
||||||
//#define CFG_FLASH_USE_BUFFER_WRITE 1 /* Use buffered writes (~10x faster) */
|
/* #define CFG_FLASH_USE_BUFFER_WRITE 1 */ /* Use buffered writes (~10x faster) */
|
||||||
# define CFG_FLASH_PROTECTION 1 /* Use h/w sector protection*/
|
# define CFG_FLASH_PROTECTION 1 /* Use h/w sector protection*/
|
||||||
|
|
||||||
#else /* !CFG_USE_NOR */
|
#else /* !CFG_USE_NOR */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user