- 20 10月, 2012 12 次提交
-
-
由 Simon Glass 提交于
These don't need to be longs, so change them. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
These don't need to be longs, so change them. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
These don't need to be longs, so change them. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
These don't need to be longs, so change them. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NAndreas Bießmann <andreas.devel@googlemail.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
These don't need to be longs, so change them. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Hung-Te Lin 提交于
To support Non-ASCII keys (ex, Fn, PgUp/Dn, arrow keys, ...), we need to translate key code into escape sequence. (Updated by sjg@chromium.org to move away from a function to store keycodes, so we can easily record how many were sent. We now need to return this from input_send_keycodes() so we know whether keys were generated.) Signed-off-by: NHung-Te Lin <hungte@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Marc Jones 提交于
The i8042 keyboard reset was not checking the results of the output buffer after the reset command. This can jam up some KBC/keyboards. Also, remove a write to the wrong register and the CONFIG setting around the incorrect write. Signed-off-by: NMarc Jones <marc.jones@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Louis Yung-Chieh Lo 提交于
The BIOS leaves the keyboard enabled during boot time so that any keystroke would interfere kernel driver initialization. Add a way to disable the keyboard to make sure no scancode will be generated during the boot time. Note that the keyboard will be re-enabled again after the kernel driver is up. This code can be called from the board functions. Signed-off-by: NLouis Yung-Chieh Lo <yjlou@chromium.org> Signed-off-by: NLouis Yung-Chieh Lo <yjlou@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Gabe Black 提交于
This change adds a board overridable function which can be used to decide whether or not to initialize the i8042 keyboard controller. On systems where it isn't actually connected to anything, this can save a significant amount of boot time. On Stumpy, this saves about 200ms on boot. Signed-off-by: NGabe Black <gabeblack@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Gabe Black 提交于
On x86, the i8042 keyboard controller driver frequently waits for the keyboard input buffer to be empty to make sure the controller has had a chance to process the data it was given. The way the delay loop was structured, if the controller hadn't cleared the corresponding status bit immediately, it would wait 1ms before checking again. If the keyboard responded quickly but not instantly, the driver would still wait a full 1ms when perhaps 1us would have been sufficient. Because udelay is a busy wait anyway, this change decreases the delay between checks to 1us. Also, this change gets rid of a hardcoded 250ms delay. On Stumpy, this saves 100-150ms during boot. Signed-off-by: NGabe Black <gabeblack@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Joe Hershberger 提交于
There used to be a huge structure duplicated 3 times in the source. Signed-off-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Stephen Warren 提交于
When get_device_and_partition() finds a disk without a partition table, under some conditions, it "returns" a disk_partition_t that describes the entire raw disk. Make sure to initialize all fields in the partition descriptor in that case. The value chosen for name is just some arbitrary descriptive string. The value chosen for info matches the check at the end of get_device_and_partition(). However, it's probably not that important; it's not obvious that the value is really used. Reported-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: NStephen Warren <swarren@nvidia.com> Reviewed-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Signed-off-by: NTom Rini <trini@ti.com>
-
- 19 10月, 2012 9 次提交
-
-
由 Alison Wang 提交于
The following commit introduces some build failures for ColdFire platform. commit abaef69f Author: Marek Vasut <marex@denx.de> Date: Thu Sep 13 16:51:38 2012 +0200 Add the missed header files. Sign-off-by: NAlison Wang <b18965@freescale.com>
-
由 Jason Jin 提交于
Clean up the lds file and fix the environment build error. Signed-off-by: NJason Jin <Jason.jin@freescale.com>
-
由 Jason Jin 提交于
Fix the build error by clean up the lds file. Signed-off-by: NJason Jin <Jason.jin@freescale.com>
-
由 Marek Vasut 提交于
The following warning was produced, fix it: mcfmii.c: In function 'mcffec_miiphy_write': mcfmii.c:318:8: warning: variable 'rdreg' set but not used [-Wunused-but-set-variable] Signed-off-by: NMarek Vasut <marex@denx.de> Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com> Cc: Jason Jin <jason.jin@freescale.com>
-
由 Marek Vasut 提交于
The following warning was produced, fix it: board.c: In function 'board_init_r': board.c:390:8: warning: unused variable 's' [-Wunused-variable] Signed-off-by: NMarek Vasut <marex@denx.de> Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com> Cc: Jason Jin <jason.jin@freescale.com>
-
由 Marek Vasut 提交于
The following warning was produced, fix it: speed.c: In function 'get_clocks': speed.c:94:15: warning: variable 'bPci' set but not used [-Wunused-but-set-variable] Signed-off-by: NMarek Vasut <marex@denx.de> Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com> Cc: Jason Jin <jason.jin@freescale.com>
-
由 Marek Vasut 提交于
The fbcs variable was unused, producing the following warning: cpu_init.c: In function 'cpu_init_f': cpu_init.c:52:10: warning: unused variable 'fbcs' [-Wunused-variable] Signed-off-by: NMarek Vasut <marex@denx.de> Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com> Cc: Jason Jin <jason.jin@freescale.com>
-
由 Marek Vasut 提交于
The jmp _fault generated the following error message, thus change it to bra _fault: start.S: Assembler messages: start.S:310: Error: Conversion of PC relative displacement to absolute Signed-off-by: NMarek Vasut <marex@denx.de> Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com> Cc: Jason Jin <jason.jin@freescale.com>
-
由 Philippe De Muyter 提交于
When the environment sectors in the flash are big, one get those errors : mcf547x_8x/start.S:173: relocation truncated to fit: R_68K_PC16 against symbol `cpu_init_f' defined in .text section in libmcf547x_8x.a(cpu_init.o) mcf547x_8x/start.S:174: relocation truncated to fit: R_68K_PC16 against symbol `board_init_f' defined in .text section in libm68k.a(board.o) Fix that. Signed-off-by: NPhilippe De Muyter <phdm@macqel.be> Cc: "Jin Zhengxiong-R64188" <R64188@freescale.com> Cc: Jason Jin <jason.jin@freescale.com>
-
- 18 10月, 2012 2 次提交
-
-
由 Paul Gortmaker 提交于
The sbc8548/60 (both similar, just variations in UART hardware) support has been removed from the linux kernel as of v3.6-rc1~132 so lets also now remove it from the u-boot tree as well. Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
-
-
- 17 10月, 2012 17 次提交
-
-
-
由 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>
-