- 18 10月, 2012 1 次提交
-
-
- 17 10月, 2012 29 次提交
-
-
-
由 Marek Vasut 提交于
The mkcksum() function now takes one parameter, the pointer to 11-byte wide character array, which it then operates on. Currently, the function is wrongly passed (dir_entry)->name, which is only 8-byte wide character array. Though by further inspecting the dir_entry structure, it can be noticed that the name[8] entry is immediatelly followed by ext[3] entry. Thus, name[8] and ext[3] in the dir_entry structure actually work as this 11-byte wide array since they're placed right next to each other by current compiler behavior. Depending on this is obviously wrong, thus fix this by correctly passing both (dir_entry)->name and (dir_entry)->ext to the mkcksum() function and adjust the function appropriately. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Tom Rini <trini@ti.com>
-
由 Stephen Warren 提交于
This information may be useful to compare against command "part uuid", or if you want to manually paste the information into the kernel command-line. Signed-off-by: NStephen Warren <swarren@nvidia.com> [trini: print_one_part / print_part_dos output strings didn't quite match before the changes] Signed-off-by: NTom Rini <trini@ti.com>
-
由 Stephen Warren 提交于
Minor cleanups required so later patches don't trigger checkpatch. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Stephen Warren 提交于
A partition is considered bootable if it either has the "legacy BIOS bootable" flag set, or if the partition type UUID matches the standard "system" type. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Stephen Warren 提交于
When printing the EFI partition table, print the raw attributes. Convert struct gpt_entry_attributes to a union to allow raw access. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Stephen Warren 提交于
Add no_block_io_protocol and legacy_bios_bootable attribute definitions. These are sourced from UEFI Spec 2.3, page 105, table 19. Credits to the libparted source for the specification pointer. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Stephen Warren 提交于
When printing the partition table, print the partition type UUID and the individual partition UUID. Do this unconditionally, since partition UUIDs are useful. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Stephen Warren 提交于
The partition name is a long variable-length string. Move it last on the line to ensure consistent layout and that the entries align with the "header" line. Also, surround it in quotes, so if it's empty, it's obvious that something is still being printed. Also, change the case of the LBA numbers; lower-case looks nicer in my opinion, and will be more consistent with the UUID printing that is added later in this series. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Stephen Warren 提交于
Simplify the partition printing loop in print_part_efi() to bail out early when the first invalid partition is found, rather than indenting the whole body of the loop. This simplifies later patches. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Stephen Warren 提交于
When no valid partitions are found, guarantee that we return -1. This most likely already happens, since the most recent get_partition_info() will have returned an error. However, it's best to be explicit. Remove an unnecessary assignment of ret=0 in the success case; this value is over-written with the processed partition ID later. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Pavel Herrmann 提交于
mpc8xx and mpc5xxx specific includes in cmd_ide.c are not required, remove them. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
Move specific ide_input_data and friends to board-specific file. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
move special case of ide_swap_read() for AU1X00 SoC into SoC-specific directory. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
Keep all IDE-related hooks and overrides in a single file, to avoid confusion Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
Make ide_led() a weak alias instead of global/local function/empty macro based on CONFIG_IDE_LED value and/or board-specific CONFIGs, to get rid of board-specific code in cmd_ide.c Define dummy values to get rid of compoler errors in case where ide_led() used to be an empty macro Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
Move input_data() and friends to board/cpc45/ide.c, as overrides for weak aliases in cmd_ide.c note: checkpatch emits warnings about using volatile Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
This changes input_data() and friends from static function to global symbols under weak alias, to enable board specific overrides (and therefore get rid of board-specific code in cmd_ide.c) Also declare ide_bus_offset in the header file, so other files can use ATA_CURR_BASE as well. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
Move power control code from ide_reset() into IVM-specific IDE reset code. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
move most of mpc8xx hooks from cmd_ide.c into ide_preinit() and newly created ide_init_postreset() (invoked after calling ide_reset after ide_preinit), some cleanup to make checkpatch happy, enable IDE init hooks in configs of affected boards. confusingly, these hooks are used by more than just mpc8xx-based boards, and therefore are placed in arch/ppc/lib/ note: checkpatch still emits warnings about using volatile Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
There is no difference in codepath with CONFIG_SC3 enabled, so just remove it Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Marek Vasut 提交于
Add STDIO documentation template. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com> [trini: Fix DOCBOOKS line as we don't have linker_lists yet] Signed-off-by: NTom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
Add kerneldoc annotations into serial core. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
Reorder the get_current() function to make it a bit more readable. The code does not grow and there is minor change in the code logic, where dev != NULL is now checked in any case. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
Reorder serial_assign() function to get rid of the extra level of indentation. Also, adjust the return value to be -EINVAL instead of positive one to be more consistent. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
Replace the in-place ad-hoc implementation of serial_puts() within the drivers with default_serial_puts() call. This cuts down on the code duplication quite a bit. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
U-Boot contains a lot of duplicit implementations of serial_puts() call which just pipes single characters into the port in loop. Implement function that does this behavior into common code, so others can make easy use of it. This function is called default_serial_puts() and it's sole purpose is to call putc() in loop on the whole string passed to it. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>
-
由 Stefan Roese 提交于
As the board seems to be unmaintained for some time, lets remove the support in mainline completely. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: James F. Dougherty <jfd@broadcom.com> Cc: Wolfgang Denk <wd@denx.de> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Nobuhiro Iwamatsu 提交于
With almost all the architecture and board BOARD_LATE_INIT does not use. CONFIG_BOARD_LATE_INIT is used instead. This changed CONFIG_BOARD_LATE_INIT from BOARD_LATE_INIT. Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> CC: Macpaul Lin <macpaul@andestech.com> [trini: Fixup for context changes] Signed-off-by: NTom Rini <trini@ti.com>
-
- 16 10月, 2012 10 次提交
-
-
由 Joe Hershberger 提交于
Provide more information when using redundant environments Consistently print debug info to stderr Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Joe Hershberger 提交于
Fix crash introduced by a073d63a36524453a817ab029fad5b188f46127e when attempting to delete a variable. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Daniel Schwierzeck 提交于
Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Zhi-zhou Zhang 提交于
Both big-endian and little-endian are tested with below commands: Rom version: (Default, Now we config it as rom version) qemu-system-mips64el -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic qemu-system-mips64 -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic Ram version: qemu-system-mips64el -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic qemu-system-mips64 -M mips -cpu MIPS64R2-generic -kernel u-boot -nographic Signed-off-by: NZhizhou Zhang <etou.zh@gmail.com> Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Zhi-zhou Zhang 提交于
We define CONFIG_SYS_TEXT_BASE in board's specified header file. So config.mk is useless, then remove it. Signed-off-by: NZhizhou Zhang <etou.zh@gmail.com>
-
由 Zhi-zhou Zhang 提交于
Prepare for upcoming mips64 support. This patch add mips64 address support. Signed-off-by: NZhizhou Zhang <etou.zh@gmail.com> [daniel.schwierzeck@gmail.com: prefer _MIPS_SZLONG in posix_types.h to fix some warnings] Signed-off-by: NDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
-
由 Zhi-zhou Zhang 提交于
Replace camel-case style with upper-case style globally. Signed-off-by: NZhizhou Zhang <etou.zh@gmail.com>
-
由 Eric Nelson 提交于
Allow the use of an I2C address to test and return success if one or more devices is found. This allows device presence to alter the flow of a script. e.g. if i2c probe 0x04 ; then echo found Hannstar touch ; fi Signed-off-by: NEric Nelson <eric.nelson@boundarydevices.com>
-
由 York Sun 提交于
Add i2c write command to write data from memory to i2c devices. Signed-off-by: NYork Sun <yorksun@freescale.com>
-
由 Tetsuyuki Kobayashi 提交于
Use setbits/clrbits macro when read-modify-write register. Signed-off-by: NTetsuyuki Kobayashi <koba@kmckk.co.jp> Acked-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
-