mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
Update CHANGELOG, coding style cleanup.
This commit is contained in:
parent
f63728c804
commit
c0a14aedc3
17 changed files with 3465 additions and 33 deletions
|
@ -48,4 +48,3 @@ int addr2ram(ulong addr)
|
|||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -25,4 +25,3 @@
|
|||
#define SDRAM_CONTROL 0x505F0000
|
||||
#define SDRAM_CONFIG1 0xD2322900
|
||||
#define SDRAM_CONFIG2 0x8AD70000
|
||||
|
||||
|
|
|
@ -21,4 +21,3 @@
|
|||
# MA 02111-1307 USA
|
||||
#
|
||||
TEXT_BASE = 0xFFFC0000
|
||||
|
||||
|
|
|
@ -43,4 +43,3 @@ include $(SRCTREE)/rules.mk
|
|||
sinclude $(obj).depend
|
||||
|
||||
#########################################################################
|
||||
|
||||
|
|
|
@ -88,4 +88,3 @@ int dcache_status (void)
|
|||
{
|
||||
return dcache_status();
|
||||
}
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -142,4 +142,3 @@ struct mg_host {
|
|||
#endif /* CONFIG_MG_DEBUG */
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -99,4 +99,3 @@ void rtc_reset (void)
|
|||
BCDSEC = 0;
|
||||
RTCCON &= 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -102,4 +102,3 @@ int serial_tstc (void)
|
|||
{
|
||||
return (GET8(U0LSR) & 1);
|
||||
}
|
||||
|
||||
|
|
|
@ -27,4 +27,3 @@ static inline u16 crc16_byte(u16 crc, const u8 data)
|
|||
}
|
||||
|
||||
#endif /* __CRC16_H */
|
||||
|
||||
|
|
|
@ -28,4 +28,3 @@ void cpu_mp_lmb_reserve(struct lmb *lmb);
|
|||
u32 determine_mp_bootpg(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -343,4 +343,3 @@
|
|||
#define CONFIG_LBA48 1
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue