Update CHANGELOG, coding style cleanup.

This commit is contained in:
Wolfgang Denk 2009-04-05 00:27:57 +02:00
parent f63728c804
commit c0a14aedc3
17 changed files with 3465 additions and 33 deletions

3441
CHANGELOG

File diff suppressed because it is too large Load Diff

View File

@ -48,4 +48,3 @@ int addr2ram(ulong addr)
return result;
}

View File

@ -304,4 +304,3 @@ void ft_board_setup(void *blob, bd_t *bd)
#endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */
#endif /* CONFIG_CMD_IDE */

View File

@ -25,4 +25,3 @@
#define SDRAM_CONTROL 0x505F0000
#define SDRAM_CONFIG1 0xD2322900
#define SDRAM_CONFIG2 0x8AD70000

View File

@ -21,4 +21,3 @@
# MA 02111-1307 USA
#
TEXT_BASE = 0xFFFC0000

View File

@ -43,4 +43,3 @@ include $(SRCTREE)/rules.mk
sinclude $(obj).depend
#########################################################################

View File

@ -88,4 +88,3 @@ int dcache_status (void)
{
return dcache_status();
}

View File

@ -142,4 +142,3 @@ struct mg_host {
#endif /* CONFIG_MG_DEBUG */
#endif

View File

@ -162,7 +162,8 @@ void qe_init(uint qe_base)
qe_immr = (qe_map_t *)qe_base;
#ifdef CONFIG_SYS_QE_FW_ADDR
/* Upload microcode to IRAM for those SOCs which do not have ROM in QE.
/*
* Upload microcode to IRAM for those SOCs which do not have ROM in QE.
*/
qe_upload_firmware((const struct qe_firmware *) CONFIG_SYS_QE_FW_ADDR);

View File

@ -99,4 +99,3 @@ void rtc_reset (void)
BCDSEC = 0;
RTCCON &= 1;
}

View File

@ -102,4 +102,3 @@ int serial_tstc (void)
{
return (GET8(U0LSR) & 1);
}

View File

@ -27,4 +27,3 @@ static inline u16 crc16_byte(u16 crc, const u8 data)
}
#endif /* __CRC16_H */

View File

@ -28,4 +28,3 @@ void cpu_mp_lmb_reserve(struct lmb *lmb);
u32 determine_mp_bootpg(void);
#endif

View File

@ -343,4 +343,3 @@
#define CONFIG_LBA48 1
#endif /* __CONFIG_H */

View File

@ -200,13 +200,15 @@ static char* put_dec_full(char *buf, unsigned q)
d2 = (q>>8) & 0xf;
d3 = (q>>12);
/* Possible ways to approx. divide by 10 */
/* gcc -O2 replaces multiply with shifts and adds */
// (x * 0xcd) >> 11: 11001101 - shorter code than * 0x67 (on i386)
// (x * 0x67) >> 10: 1100111
// (x * 0x34) >> 9: 110100 - same
// (x * 0x1a) >> 8: 11010 - same
// (x * 0x0d) >> 7: 1101 - same, shortest code (on i386)
/*
* Possible ways to approx. divide by 10
* gcc -O2 replaces multiply with shifts and adds
* (x * 0xcd) >> 11: 11001101 - shorter code than * 0x67 (on i386)
* (x * 0x67) >> 10: 1100111
* (x * 0x34) >> 9: 110100 - same
* (x * 0x1a) >> 8: 11010 - same
* (x * 0x0d) >> 7: 1101 - same, shortest code (on i386)
*/
d0 = 6*(d3 + d2 + d1) + (q & 0xf);
q = (d0 * 0xcd) >> 11;