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

@ -11,16 +11,16 @@ What: "autoscr" command
When: Release 2009-09
Why: "autosrc" is an ugly and completely non-standard name.
The "autoscr" command is deprecated and will be replaced by
The "autoscr" command is deprecated and will be replaced by
the "source" command as used by other shells such as bash.
the "source" command as used by other shells such as bash.
Starting with March 2009, both commands will be supported for
a transition period of 6 months after which "autoscr" will be
removed. During the transition period existing scripts and
environment variable names remain untouched for maximum
compatibiltiy; thse will be changed when support for the
"autoscr" command get's finally dropped.
Starting with March 2009, both commands will be supported for
a transition period of 6 months after which "autoscr" will be
removed. During the transition period existing scripts and
environment variable names remain untouched for maximum
compatibiltiy; thse will be changed when support for the
"autoscr" command get's finally dropped.
Who: Peter Tyser <ptyser@xes-inc.com>

View file

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

View file

@ -162,12 +162,13 @@ 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.
*/
qe_upload_firmware((const struct qe_firmware *) CONFIG_SYS_QE_FW_ADDR);
/*
* 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);
/* enable the microcode in IRAM */
out_be32(&qe_immr->iram.iready,QE_IRAM_READY);
/* enable the microcode in IRAM */
out_be32(&qe_immr->iram.iready,QE_IRAM_READY);
#endif
gd->mp_alloc_base = QE_DATAONLY_BASE;

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;

View file

@ -452,7 +452,7 @@ void board_init_f (ulong bootflag)
/*
* We need to make sure the location we intend to put secondary core
* boot code is reserved and not used by any part of u-boot
*/
*/
if (addr > determine_mp_bootpg()) {
addr = determine_mp_bootpg();
debug ("Reserving MP boot page to %08lx\n", addr);