- 22 10月, 2012 4 次提交
-
-
由 Marek Vasut 提交于
This patch adds essential components for generation of the contents of the linker section that is used by the linker-generated array. All of the contents is held in a separate file, u-boot.lst, which is generated at runtime just before U-Boot is linked. The purpose of this code is to especially generate the appropriate boundary symbols around each subsection in the section carrying the linker-generated arrays. Obviously, the interim linker code for actual placement of the variables into the section is generated too. The generated file, u-boot.lst, is included into u-boot.lds via the linker INCLUDE directive in u-boot.lds . Adjustments are made in the Makefile and spl/Makefile so that the u-boot.lds and u-boot-spl.lds depend on their respective .lst files. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Mike Frysinger <vapier@gentoo.org> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Tested-by: NJoe Hershberger <joe.hershberger@ni.com>
-
由 Shengzhou Liu 提交于
when missing USB PHY clock, u-boot will hang during USB initialization when issuing "usb start". We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. Due to controller issue of PHY_CLK_VALID in ULPI mode, we set USB_EN before checking PHY_CLK_VALID, otherwise PHY_CLK_VALID doesn't work. Signed-off-by: NShengzhou Liu <Shengzhou.Liu@freescale.com> Acked-by: NMarek Vasut <marex@denx.de>
-
由 Vincent Palatin 提交于
When a USB configuration descriptor was larger than our USB buffer (512 bytes), we were skipping the full descriptor reading but then we were still parsing and using it, triggering memory corruptions. Now in that case, it just skips this device enumeration and displays the appropriate message to the user, so he can fix the buffer if he wants. This bug was triggered by some UVC webcams which have very large configuration descriptors (e.g. a couple of kB) describing all their supported video encodings. Signed-off-by: NVincent Palatin <vpalatin@chromium.org> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Gabe Black 提交于
usb_storage wouldn't compile when the CONFIG_SYS_64BIT_LBA option is turned on because the used fixed size data types in their exported functions when they should have used lbaint_t for the block count parameter. That meant that when the sizes happened to be the same, when using a 28 bit LBA, the driver would build, but when it wasn't, a 48 bit LBA, things broke. This change adjusts the signatures to use the right type and makes small adjustments in the affected functions. Signed-off-by: NGabe Black <gabeblack@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NMarek Vasut <marex@denx.de>
-
- 20 10月, 2012 24 次提交
-
-
git://git.denx.de/u-boot-arm由 Tom Rini 提交于
Conflicts: drivers/serial/serial_lh7a40x.c Signed-off-by: NTom Rini <trini@ti.com>
-
由 Albert ARIBAUD 提交于
Colored logs confuse patman when analyzing logs. Add --no-color option in git log commands in case the default config has color. Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net> Acked-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This doesn't need to be a long, so change it. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This doesn't need to be a long, so change it. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This doesn't need to be a long, so change it. Also adjust bi_baudrate to be unsigned. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This doesn't need to be a long, so change it. Also adjust bi_baudrate to be unsigned. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This doesn't need to be a long, so change it. Also adjust bi_baudrate to be unsigned. Signed-off-by: NSimon Glass <sjg@chromium.org> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Simon Glass 提交于
This does not need to be a long, so change it. Also adjust bi_baudrate to be unsigned. 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> 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> 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>
-
由 Simon Glass 提交于
Rather than leave the fdt down next to the code/data, we really should relocate it along with everything else. For CONFIG_OF_EMBED this happens automatically, but for CONFIG_OF_SEPARATE it does not. Add code to copy the fdt and point to the new copy after relocation. Signed-off-by: NSimon Glass <sjg@chromium.org> Tested-by: NStephen Warren <swarren@nvidia.com>
-
- 19 10月, 2012 10 次提交
-
-
由 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>
-
由 Tom Rini 提交于
With ELDK4.2 libserial.o is too large to fit in the area before the environment. Swap in libinput instead which is a little smaller. Cc: Michael Schwingen <michael@schwingen.org> Signed-off-by: NTom Rini <trini@ti.com>
-
- 18 10月, 2012 2 次提交
-
-
由 402jagan@gmail.com 提交于
This patch provides a support to use buffered writes on flash for versatile and vexpress boards. This will certainly increase the flash writes. Signed-off-by: NJagannadha Sutradharudu Teki <402jagan@gmail.com>
-
由 Marek Vasut 提交于
Signed-off-by: NMarek Vasut <marex@denx.de> Cc: David Müller <d.mueller@elsoft.ch> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: U-Boot DM <u-boot-dm@lists.denx.de>
-