- 13 5月, 2013 1 次提交
-
-
由 Andreas Bießmann 提交于
Commit 18652864 (Introduce generic link section.h symbol files) changed the __bss_end symbol type from char[] to ulong. This led to wrong relocation parameters which ended up in a not working u-boot. Unfortunately this is not clear to see cause due to RAM aliasing we may get a 'half-working' u-boot then. Fix this by dereferencing the __bss_end symbol where needed. Signed-off-by: NAndreas Bießmann <andreas.devel@googlemail.com>
-
- 11 5月, 2013 4 次提交
-
-
由 Gerald Van Baren 提交于
The define should not have been put in fdt.h originally, libfdt_env.h is the proper place for target-specific customizations. Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 Justin Sobota 提交于
This commit adds a license header to fdt.h and libfdt_env.h because the license was omitted. U-Boot note: the u-boot libfdt_env.h header portion was not applied to the u-boot libfdt_env.h because that file was created by Gerald Van Baren (with a license header). - gvb Ref: DTC commit 27cdc1b1 Signed-off-by: NJustin Sobota <jsobota@ti.com> Acked-by: NDavid Gibson <david@gibson.dropbear.id.au> Signed-off-by: NGerald Van Baren <vanbaren@cideas.com>
-
由 François Revol 提交于
Ref: DTC commit cc11e522 Signed-off-by: NFrançois Revol <revol@free.fr>
-
由 Simon Glass 提交于
This function is useful outside libfdt, so export it. Ref: DTC commit b7aa300e Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NDavid Gibson <david@gibson.dropbear.id.au>
-
- 10 5月, 2013 9 次提交
-
-
-
由 Stefan Kristiansson 提交于
Unifies the openrisc boards linker scripts into a common one. Signed-off-by: NStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
-
由 Stefan Kristiansson 提交于
Since there are two memory areas defined, vectors and ram, the linker will error when neither of them are specified for a section. Signed-off-by: NStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
-
由 Egbert Eich 提交于
The 512 byte block size was hard coded in the ext4 file systems. Large harddisks today support bigger block sizes typically 4096 bytes. This patch removes this limitation. Signed-off-by: NEgbert Eich <eich@suse.com>
-
由 Anatolij Gustschin 提交于
Many boot image configuration files refer to the appropriate documentation file, but these references contain typos in the directory and file name. Fix them. Also fix reference to doc/README.SPL file. Signed-off-by: NAnatolij Gustschin <agust@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by: NStefano Babic <sbabic@denx.de>
-
由 Michal Simek 提交于
Patman requires python 2.7.4 to run but it doesn't need to be placed in /usr/bin/python. Use env to ensure that the interpreter used is the first one on environment's $PATH on system with several versions of Python installed. Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Reviewed-by: NTom Rini <trini@ti.com> Acked-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Conflicting tags can prevent buildman from building two series which exist one after the other in a branch. There is no reason not to allow this sort of workflow with buildman, so ignore conflicting tags in buildman. Change-Id: I2231d04d8684fe0f8fe77f8ea107e5899a3da5e8 Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Rini <trini@ti.com>
-
由 Lucian Cojocar 提交于
If the environment contains an entry like "=value" "\0" we should throw an error when parsing the environment. Otherwise, U-Boot will enter in an infinite loop. Signed-off-by: NLucian Cojocar <cojocar@gmail.com>
-
由 Marek Vasut 提交于
Currently the base setting for CFLAGS is split in two possibilities, one with -DBUILD_TAG appended at the end and one without, the rest of CFLAGS is the same in both cases. Change this so CFLAGS are always set and the -DBUILD_TAG is appended in separate ifdef. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Reviewed-by: NOtavio Salvador <otavio@ossystems.com.br>
-
- 09 5月, 2013 3 次提交
-
-
由 Michal Simek 提交于
Microblaze uses gpio which is connected to the system reset. Currently gpio subsystem wasn't used for it. Add gpio driver and change Microblaze reset logic to be done via gpio subsystem. There are various configurations which Microblaze can have that's why gpio_alloc/gpio_alloc_dual(for dual channel) function has been introduced and gpio can be allocated dynamically. Adding several gpios IP is also possible and supported. For listing gpio configuration please use "gpio status" command This patch also remove one compilation warning: microblaze-generic.c: In function 'do_reset': microblaze-generic.c:38:47: warning: operation on '*1073741824u' may be undefined [-Wsequence-point] Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
fdt_initrd add additional information to DTB about initrd addresses which are later used by kernel. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
Prepare place for new patch. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
- 08 5月, 2013 1 次提交
-
-
由 Kuan-Yu Kuo 提交于
Include this header to get access to link symbols, which are otherwise removed. Signed-off-by: NKuan-Yu Kuo <ken.kuoky@gmail.com> Cc: Macpaul Lin <macpaul@gmail.com>
-
- 07 5月, 2013 6 次提交
-
-
-
由 Fabio Estevam 提交于
A malloc() followed by memset() can be simply replaced by calloc(). Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Jaehoon Chung 提交于
If failed the add_host(), it is reasonable that return value of add_sdhci(). Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Vipin Kumar 提交于
Signed-off-by: NVipin Kumar <vipin.kumar@st.com> Acked-by: NStefan Roese <sr@denx.de> Acked-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Davide Bonfanti 提交于
Without this additional delay, some eMMC don't negotiate properly bus width Tested on: - Toshiba THGBM2G8D8FBAIB - Toshiba THGBM4G4D1HBAR - Micron MTFC4GMVEA (the one giving the problem) - Hynix H26M64002BNR - SanDisk SDIN5E1-32G Signed-off-by: NDavide Bonfanti <davide.bonfanti@bticino.it> Acked-by: NTom Rini <trini@ti.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Che-Liang Chiou 提交于
Most of time that MMC driver spends on initializing a device is polling OCR (operation conditions register). To decouple this polling loop, device init is split into two parts: The first part fires the OCR query command, and the second part polls the result. So the caller is now no longer bound to the OCR-polling delay; he may fire the query, go somewhere and then come back later for the result. To use this, call mmc_set_preinit() on any device which needs this. This can save significant amounts of time on boot (e.g. 200ms) by hiding the MMC init time behind other init. Signed-off-by: NChe-Liang Chiou <clchiou@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
- 06 5月, 2013 12 次提交
-
-
由 Vivek Gautam 提交于
We can use a common global method for calculating minimum of 3 numbers. Put the same in 'common header' and let 'ehci' use it. Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com> Acked-by: NTom Rini <trini@ti.com>
-
由 Vivek Gautam 提交于
Fix the Port status bit constants and Port feature number constants as a part of USB 2.0 and USB 3.0 Hub class. Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com>
-
由 Vivek Gautam 提交于
Untill now we power-cycle (aka: disable power on a port and re-enabling again) one port at a time. Delay of 20ms for Port-power to change multiplies with number of ports in this case. So better we parallelize this process: disable power on all ports, wait for port-power to stabilize and then re-enable the power subsequently. Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com>
-
由 Bo Shen 提交于
The at91sam9g10 need to configure HCK0 to make OHCI work Signed-off-by: NBo Shen <voice.shen@atmel.com>
-
由 Vivek Gautam 提交于
This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by: NVikas C Sajjan <vikas.sajjan@samsung.com> Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com>
-
由 Vivek Gautam 提交于
Patch b6d7852c increases timeout for enumeration, taking worst case to be 10 sec. get_timer() api returns timestamp in milliseconds, which is what we are checking in the do-while() loop in usb_hub_configure() (get_timer(start) < CONFIG_SYS_HZ * 10). This should give us a required check for 10 seconds, and thereby we don't need to add additional mdelay of 100 microseconds in each cycle. Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com> Reviewed-by: NVipin Kumar <vipin.kumar@st.com>
-
由 Vivek Gautam 提交于
Fetch the device class into usb device's dwcriptors, so that the host controller's driver can use this info to differentiate between HUB and DEVICE. Signed-off-by: NAmar <amarendra.xt@samsung.com>
-
由 Vivek Gautam 提交于
XHCI ports are powered on after a H/W reset, however EHCI ports are not. So disabling and re-enabling power on all ports invariably. Signed-off-by: NAmar <amarendra.xt@samsung.com> Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com>
-
由 Vivek Gautam 提交于
Some cleanup in usb framework, nothing much on feature side. Signed-off-by: NVikas C Sajjan <vikas.sajjan@samsung.com> Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com>
-
由 Vivek Gautam 提交于
USB_PRINTF, USB_HUB_PRINTF, USB_STOR_PRINTF, USB_KBD_PRINTF are nothing but conditional debug prints, depending on DEBUG. So better remove them and use debug() simply. Signed-off-by: NVivek Gautam <gautam.vivek@samsung.com>
-
由 Julius Werner 提交于
This patch adds a new 'usb test' command, that will set a port to a USB 2.0 test mode (see USB 2.0 spec 7.1.20). It supports all five test modes on both downstream hub ports and ordinary device's upstream ports. In addition, it supports EHCI root hub ports. Signed-off-by: NJulius Werner <jwerner@chromium.org>
-
由 Jim Lin 提交于
Add ehci_get_port_speed() and ehci_set_usbmode() weak functions for platform driver to support new chip. Signed-off-by: NJim Lin <jilin@nvidia.com>
-
- 03 5月, 2013 4 次提交
-
-
由 Tom Rini 提交于
With the u-boot-with-spl.bin rule calling $(OBJCOPY) with CONFIG_SPL_PAD_TO, and CONFIG_SPL_PAD_TO defaulting to CONFIG_SPL_MAX_SIZE we cannot use math here, so set it to 4096 rather than 4 * 1024. Signed-off-by: NTom Rini <trini@ti.com>
-
-
由 Shaohui Xie 提交于
The Hydra and Superhydra (P3041DS, P5020DS, and P5040DS) boards have a second USB port that can be configured in either host, peripheral (aka device), or OTG (on-the-go) mode. When configured in host mode, if the port is connected to another USB host, damage to the board can occur. To avoid this, we change the default setting to peripheral mode. Ideally, we'd set it to OTG mode, but currently there is no OTG support for these boards. Setting the hwconfig variable will also update the device tree, and so Linux will configure the port for peripheral mode as well. Signed-off-by: NShaohui Xie <Shaohui.Xie@freescale.com> Signed-off-by: NTimur Tabi <timur@tabi.org> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Xu Jiucheng 提交于
When P1021RDB-PC reboot system, the board will hung at uboot DDR configuration. For P1021RDB-PC DDR reset pin is multiplex with QE, so uboot will reserve this pin for QE and skip DDR reset. Other platforms without QE will do this reset. This patch adds a slight code to reset DDR chip by QE CE_PB8 pin for NAND and NOR FLASH boot. For booting from SPI FALSH and SD card, it seems possible to use the rom on chip to write to the GPIO pins before configuring the DDR. Signed-off-by: NXu Jiucheng <B37781@freescale.com> Signed-off-by: NXie Xiaobo <X.Xie@freescale.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-