mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 03:58:18 -04:00
Coding Style cleanup
Fix trailing white space, indentation by spaces instead of TABs, excessive blank lines, trailing blank lines. Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
10879aa21c
commit
6b62b9a31d
@ -123,4 +123,3 @@ struct lcd_sync_arg {
|
|||||||
void da8xx_video_init(const struct da8xx_panel *panel, int bits_pixel);
|
void da8xx_video_init(const struct da8xx_panel *panel, int bits_pixel);
|
||||||
|
|
||||||
#endif /* ifndef DA8XX_FB_H */
|
#endif /* ifndef DA8XX_FB_H */
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ Boston, MA 02110-1301, USA. */
|
|||||||
!
|
!
|
||||||
|
|
||||||
.global __ashrsi3
|
.global __ashrsi3
|
||||||
|
|
||||||
.align 2
|
.align 2
|
||||||
__ashrsi3:
|
__ashrsi3:
|
||||||
mov #31,r0
|
mov #31,r0
|
||||||
|
@ -97,7 +97,7 @@ char *pick_a_tool(void)
|
|||||||
printf("failed to add item!");
|
printf("failed to add item!");
|
||||||
menu_destroy(m);
|
menu_destroy(m);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (menu_get_choice(m, (void **)&tool) != 1)
|
if (menu_get_choice(m, (void **)&tool) != 1)
|
||||||
|
@ -43,7 +43,7 @@ I2C:
|
|||||||
* I2C1_CH0: EEPROM AT24C64(0x50) RCW, AT24C02(0x51) DDR SPD,
|
* I2C1_CH0: EEPROM AT24C64(0x50) RCW, AT24C02(0x51) DDR SPD,
|
||||||
AT24C02(0x53) DDR SPD, AT24C02(0x57) SystemID, RTC DS3232(0x68)
|
AT24C02(0x53) DDR SPD, AT24C02(0x57) SystemID, RTC DS3232(0x68)
|
||||||
* I2C1_CH1: 1588 RiserCard(0x55), HSLB Testport, TempMon
|
* I2C1_CH1: 1588 RiserCard(0x55), HSLB Testport, TempMon
|
||||||
ADT7461(0x4C), SerDesMux DS64MB201(0x51/59/5C/5D)
|
ADT7461(0x4C), SerDesMux DS64MB201(0x51/59/5C/5D)
|
||||||
* I2C1_CH2: VDD/GVDD/GIDD ZL6100 (0x21/0x22/0x23/0x24/0x40)
|
* I2C1_CH2: VDD/GVDD/GIDD ZL6100 (0x21/0x22/0x23/0x24/0x40)
|
||||||
* I2C1_CH3: OCM CFG AT24C02(0x55), OCM IPL AT24C64(0x56)
|
* I2C1_CH3: OCM CFG AT24C02(0x55), OCM IPL AT24C64(0x56)
|
||||||
* I2C1_CH4: PCIe SLOT1
|
* I2C1_CH4: PCIe SLOT1
|
||||||
@ -108,4 +108,3 @@ Place a linux uImage in the TFTP disk area.
|
|||||||
tftp 2000000 rootfs.ext2.gz.uboot
|
tftp 2000000 rootfs.ext2.gz.uboot
|
||||||
tftp 3000000 p3060rdb.dtb
|
tftp 3000000 p3060rdb.dtb
|
||||||
bootm 1000000 2000000 3000000
|
bootm 1000000 2000000 3000000
|
||||||
|
|
||||||
|
@ -115,50 +115,50 @@ Supported global commands
|
|||||||
-------------------------
|
-------------------------
|
||||||
Unrecognized commands are ignored.
|
Unrecognized commands are ignored.
|
||||||
|
|
||||||
default <label> - the label named here is treated as the default and is
|
default <label> - the label named here is treated as the default and is
|
||||||
the first label 'pxe boot' attempts to boot.
|
the first label 'pxe boot' attempts to boot.
|
||||||
|
|
||||||
menu title <string> - sets a title for the menu of labels being displayed.
|
menu title <string> - sets a title for the menu of labels being displayed.
|
||||||
|
|
||||||
menu include <path> - use tftp to retrieve the pxe file at <path>, which
|
menu include <path> - use tftp to retrieve the pxe file at <path>, which
|
||||||
is then immediately parsed as if the start of its
|
is then immediately parsed as if the start of its
|
||||||
contents were the next line in the current file. nesting
|
contents were the next line in the current file. nesting
|
||||||
of include up to 16 files deep is supported.
|
of include up to 16 files deep is supported.
|
||||||
|
|
||||||
prompt <flag> - if 1, always prompt the user to enter a label to boot
|
prompt <flag> - if 1, always prompt the user to enter a label to boot
|
||||||
from. if 0, only prompt the user if timeout expires.
|
from. if 0, only prompt the user if timeout expires.
|
||||||
|
|
||||||
timeout <num> - wait for user input for <num>/10 seconds before
|
timeout <num> - wait for user input for <num>/10 seconds before
|
||||||
auto-booting a node.
|
auto-booting a node.
|
||||||
|
|
||||||
label <name> - begin a label definition. labels continue until
|
label <name> - begin a label definition. labels continue until
|
||||||
a command not recognized as a label command is seen,
|
a command not recognized as a label command is seen,
|
||||||
or EOF is reached.
|
or EOF is reached.
|
||||||
|
|
||||||
Supported label commands
|
Supported label commands
|
||||||
------------------------
|
------------------------
|
||||||
labels end when a command not recognized as a label command is reached, or EOF.
|
labels end when a command not recognized as a label command is reached, or EOF.
|
||||||
|
|
||||||
menu default - set this label as the default label to boot; this is
|
menu default - set this label as the default label to boot; this is
|
||||||
the same behavior as the global default command but
|
the same behavior as the global default command but
|
||||||
specified in a different way
|
specified in a different way
|
||||||
|
|
||||||
kernel <path> - if this label is chosen, use tftp to retrieve the kernel
|
kernel <path> - if this label is chosen, use tftp to retrieve the kernel
|
||||||
at <path>. it will be stored at the address indicated in
|
at <path>. it will be stored at the address indicated in
|
||||||
the kernel_addr_r environment variable, and that address
|
the kernel_addr_r environment variable, and that address
|
||||||
will be passed to bootm to boot this kernel.
|
will be passed to bootm to boot this kernel.
|
||||||
|
|
||||||
append <string> - use <string> as the kernel command line when booting this
|
append <string> - use <string> as the kernel command line when booting this
|
||||||
label.
|
label.
|
||||||
|
|
||||||
initrd <path> - if this label is chosen, use tftp to retrieve the initrd
|
initrd <path> - if this label is chosen, use tftp to retrieve the initrd
|
||||||
at <path>. it will be stored at the address indicated in
|
at <path>. it will be stored at the address indicated in
|
||||||
the initrd_addr_r environment variable, and that address
|
the initrd_addr_r environment variable, and that address
|
||||||
will be passed to bootm.
|
will be passed to bootm.
|
||||||
|
|
||||||
localboot <flag> - Run the command defined by "localcmd" in the environment.
|
localboot <flag> - Run the command defined by "localcmd" in the environment.
|
||||||
<flag> is ignored and is only here to match the syntax of
|
<flag> is ignored and is only here to match the syntax of
|
||||||
PXELINUX config files.
|
PXELINUX config files.
|
||||||
|
|
||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
@ -217,7 +217,7 @@ PXELINUX and U-boot's pxe support.
|
|||||||
|
|
||||||
- U-boot's pxe doesn't provide the full menu implementation that PXELINUX
|
- U-boot's pxe doesn't provide the full menu implementation that PXELINUX
|
||||||
does, only a simple text based menu using the commands described in
|
does, only a simple text based menu using the commands described in
|
||||||
this README. With PXELINUX, it's possible to have a graphical boot
|
this README. With PXELINUX, it's possible to have a graphical boot
|
||||||
menu, submenus, passwords, etc. U-boot's pxe could be extended to support
|
menu, submenus, passwords, etc. U-boot's pxe could be extended to support
|
||||||
a more robust menuing system like that of PXELINUX's.
|
a more robust menuing system like that of PXELINUX's.
|
||||||
|
|
||||||
|
@ -67,11 +67,10 @@ Update SPI ROM:
|
|||||||
============================
|
============================
|
||||||
|
|
||||||
1. Copy u-boot image to RAM area.
|
1. Copy u-boot image to RAM area.
|
||||||
2. Probe SPI device.
|
2. Probe SPI device.
|
||||||
=> sf probe 0
|
=> sf probe 0
|
||||||
8192 KiB M25P64 at 0:0 is now current device
|
8192 KiB M25P64 at 0:0 is now current device
|
||||||
3. Erase SPI ROM.
|
3. Erase SPI ROM.
|
||||||
=> sf erase 0 80000
|
=> sf erase 0 80000
|
||||||
4. Write u-boot image to SPI ROM.
|
4. Write u-boot image to SPI ROM.
|
||||||
=> sf write 0x89000000 0 80000
|
=> sf write 0x89000000 0 80000
|
||||||
|
|
||||||
|
@ -435,4 +435,3 @@ enum RPADIR_BIT {
|
|||||||
enum FIFO_SIZE_BIT {
|
enum FIFO_SIZE_BIT {
|
||||||
FIFO_SIZE_T = 0x00000700, FIFO_SIZE_R = 0x00000007,
|
FIFO_SIZE_T = 0x00000700, FIFO_SIZE_R = 0x00000007,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -251,5 +251,3 @@ int ehci_hcd_stop(void)
|
|||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -103,12 +103,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
|
|||||||
#define CONFIG_SYS_MEMTEST_END 0x1fffffff
|
#define CONFIG_SYS_MEMTEST_END 0x1fffffff
|
||||||
#define CONFIG_PANIC_HANG /* do not reset board on panic */
|
#define CONFIG_PANIC_HANG /* do not reset board on panic */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Config the L2 Cache as L2 SRAM
|
* Config the L2 Cache as L2 SRAM
|
||||||
*/
|
*/
|
||||||
@ -316,7 +310,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
|
|||||||
#define _IO_BASE 0x00000000
|
#define _IO_BASE 0x00000000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
|
#define CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
|
||||||
#define CONFIG_DOS_PARTITION
|
#define CONFIG_DOS_PARTITION
|
||||||
|
|
||||||
@ -563,6 +556,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
|
|||||||
"tftp $fdtaddr $tftppath/$fdtfile;" \
|
"tftp $fdtaddr $tftppath/$fdtfile;" \
|
||||||
"bootm $loadaddr - $fdtaddr"
|
"bootm $loadaddr - $fdtaddr"
|
||||||
|
|
||||||
|
|
||||||
#define CONFIG_RAMBOOTCOMMAND \
|
#define CONFIG_RAMBOOTCOMMAND \
|
||||||
"setenv bootargs root=/dev/ram rw " \
|
"setenv bootargs root=/dev/ram rw " \
|
||||||
"console=$consoledev,$baudrate $othbootargs;" \
|
"console=$consoledev,$baudrate $othbootargs;" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user