Coding Style cleanup, update CHANGELOG

Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Wolfgang Denk 2008-01-09 11:36:21 +01:00
parent 2eb6e01049
commit 435dc8fcdb
4 changed files with 2678 additions and 135 deletions

2549
CHANGELOG

File diff suppressed because it is too large Load Diff

View File

@ -23,7 +23,6 @@
* MA 02111-1307 USA
*/
#include <common.h>
#include <i2c.h>
#include <malloc.h>
@ -32,14 +31,12 @@
#include "fsl_diu_fb.h"
#ifdef DEBUG
#define DPRINTF(fmt, args...) printf("%s: " fmt,__FUNCTION__,## args)
#else
#define DPRINTF(fmt, args...)
#endif
struct fb_videomode {
const char *name; /* optional */
unsigned int refresh; /* optional */
@ -182,8 +179,6 @@ struct diu_addr {
#define MAX_CURS 32
static struct fb_info fsl_fb_info;
static struct diu_addr gamma, cursor;
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 u32 get_busfreq(void);
int fsl_diu_init(int xres,
unsigned int pixel_format,
int gamma_fix,

View File

@ -39,14 +39,14 @@
/* Clock config to target*/
#define PRCM_CONFIG_I 1
//#define PRCM_CONFIG_II 1
/* #define PRCM_CONFIG_II 1 */
/* Boot method */
/* uncomment if you use NOR boot */
//#define CFG_NOR_BOOT 1
/* #define CFG_NOR_BOOT 1 */
/* uncomment if you use NOR on CS3 */
//#define CFG_USE_NOR 1
/* #define CFG_USE_NOR 1 */
#ifdef CFG_NOR_BOOT
#undef CFG_USE_NOR
@ -223,7 +223,7 @@
*/
# define CFG_FLASH_CFI 1 /* Flash memory is CFI compliant */
# 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*/
#else /* !CFG_USE_NOR */