mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-04 18:40:42 +09:00
Conding style cleanup
Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
59530af556
commit
c2c0ab4aff
@ -252,7 +252,6 @@ static int gen_auto_negotiate(int phy_addr)
|
|||||||
{
|
{
|
||||||
u_int16_t tmp;
|
u_int16_t tmp;
|
||||||
|
|
||||||
|
|
||||||
if (!dm644x_eth_phy_read(phy_addr, PHY_BMCR, &tmp))
|
if (!dm644x_eth_phy_read(phy_addr, PHY_BMCR, &tmp))
|
||||||
return(0);
|
return(0);
|
||||||
|
|
||||||
@ -273,7 +272,6 @@ static int gen_auto_negotiate(int phy_addr)
|
|||||||
/* End of generic PHY functions */
|
/* End of generic PHY functions */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
|
#if defined(CONFIG_MII) || (CONFIG_COMMANDS & CFG_CMD_MII)
|
||||||
static int dm644x_mii_phy_read(char *devname, unsigned char addr, unsigned char reg, unsigned short *value)
|
static int dm644x_mii_phy_read(char *devname, unsigned char addr, unsigned char reg, unsigned short *value)
|
||||||
{
|
{
|
||||||
|
@ -545,7 +545,7 @@ VTP1Lock:
|
|||||||
mov r10, $0
|
mov r10, $0
|
||||||
str r10, [r6]
|
str r10, [r6]
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Call board-specific lowlevel init.
|
* Call board-specific lowlevel init.
|
||||||
* That MUST be present and THAT returns
|
* That MUST be present and THAT returns
|
||||||
* back to arch calling code with "mov pc, lr."
|
* back to arch calling code with "mov pc, lr."
|
||||||
|
Loading…
Reference in New Issue
Block a user