- May 13, 2013
-
-
Simon Glass authored
This timer runs at a rate that can be calculated, well over 100MHz. It is ideal for accurate timing and does not need interrupt servicing. Tidy up some old broken and unneeded implementations at the same time. To provide a consistent view of boot time, we use the same time base as coreboot. Use the base timestamp supplied by coreboot as U-Boot's base time. Signed-off-by:
Simon Glass <sjg@chromium.org>base> Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
The 'Starting linux' message appears twice in the code, but both call through the same place. Unify these and add calls to bootstage to mark the occasion. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Michael Spang <spang@chromium.org> Acked-by:
Graeme Russ <graeme.russ@gmail.com>
-
Simon Glass authored
panic_puts() can be called in early boot to display a message. It might help with early debugging. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Wai-Hong Tam <waihong@chromium.org>
-
Simon Glass authored
Several files use the global_data pointer without declaring it. This works because the declaration is currently a NOP. But still it is better to fix this so that x86 lines up with other archs. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Since we use CONFIG_SYS_GENERIC_BOARD on x86, we don't need this anymore. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Graeme Russ <graeme.russ@gmail.com>
-
Simon Glass authored
Since we don't have real-mode code now, we can remove this chunk of the link script. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Graeme Russ <graeme.russ@gmail.com>
-
Simon Glass authored
Graeme Russ pointed out that this code is no longer used. Remove it. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Graeme Russ <graeme.russ@gmail.com>
-
- May 10, 2013
-
-
Gerald Van Baren authored
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:
Gerald Van Baren <vanbaren@cideas.com>
-
Justin Sobota authored
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:
Justin Sobota <jsobota@ti.com> Acked-by:
David Gibson <david@gibson.dropbear.id.au> Signed-off-by:
Gerald Van Baren <vanbaren@cideas.com>
-
François Revol authored
Ref: DTC commit cc11e522 Signed-off-by:
François Revol <revol@free.fr>
-
Simon Glass authored
This function is useful outside libfdt, so export it. Ref: DTC commit b7aa300e Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
David Gibson <david@gibson.dropbear.id.au>
-
git://git.denx.de/u-boot-x86Tom Rini authored
-
Stefan Kristiansson authored
Unifies the openrisc boards linker scripts into a common one. Signed-off-by:
Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
-
Stefan Kristiansson authored
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:
Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
-
Egbert Eich authored
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:
Egbert Eich <eich@suse.com>
-
Anatolij Gustschin authored
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:
Anatolij Gustschin <agust@denx.de> Cc: Prafulla Wadaskar <prafulla@marvell.com> Cc: Stefano Babic <sbabic@denx.de> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- May 09, 2013
-
-
Michal Simek authored
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:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Tom Rini <trini@ti.com> Acked-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
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:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@ti.com>
-
Lucian Cojocar authored
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:
Lucian Cojocar <cojocar@gmail.com>
-
Marek Vasut authored
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:
Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Reviewed-by:
Otavio Salvador <otavio@ossystems.com.br>
-
Michal Simek authored
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:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
fdt_initrd add additional information to DTB about initrd addresses which are later used by kernel. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Prepare place for new patch. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
- May 08, 2013
-
-
Kuan-Yu Kuo authored
Include this header to get access to link symbols, which are otherwise removed. Signed-off-by:
Kuan-Yu Kuo <ken.kuoky@gmail.com> Cc: Macpaul Lin <macpaul@gmail.com>
-
- May 07, 2013
-
-
git://www.denx.de/git/u-boot-mmcTom Rini authored
-
- May 06, 2013
-
-
Fabio Estevam authored
A malloc() followed by memset() can be simply replaced by calloc(). Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Jaehoon Chung authored
If failed the add_host(), it is reasonable that return value of add_sdhci(). Signed-off-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Vipin Kumar authored
Signed-off-by:
Vipin Kumar <vipin.kumar@st.com> Acked-by:
Stefan Roese <sr@denx.de> Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Davide Bonfanti authored
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:
Davide Bonfanti <davide.bonfanti@bticino.it> Acked-by:
Tom Rini <trini@ti.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Che-Liang Chiou authored
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:
Che-Liang Chiou <clchiou@chromium.org> Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Vivek Gautam authored
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:
Vivek Gautam <gautam.vivek@samsung.com> Acked-by:
Tom Rini <trini@ti.com>
-
Vivek Gautam authored
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:
Vivek Gautam <gautam.vivek@samsung.com>
-
Vivek Gautam authored
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:
Vivek Gautam <gautam.vivek@samsung.com>
-
- May 05, 2013
-
-
Bo Shen authored
The at91sam9g10 need to configure HCK0 to make OHCI work Signed-off-by:
Bo Shen <voice.shen@atmel.com>
-
Vivek Gautam authored
This adds usb framework support for super-speed usb, which will further facilitate to add stack support for xHCI. Signed-off-by:
Vikas C Sajjan <vikas.sajjan@samsung.com> Signed-off-by:
Vivek Gautam <gautam.vivek@samsung.com>
-
Vivek Gautam authored
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:
Vivek Gautam <gautam.vivek@samsung.com> Reviewed-by:
Vipin Kumar <vipin.kumar@st.com>
-
Vivek Gautam authored
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:
Amar <amarendra.xt@samsung.com>
-
Vivek Gautam authored
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:
Amar <amarendra.xt@samsung.com> Signed-off-by:
Vivek Gautam <gautam.vivek@samsung.com>
-
Vivek Gautam authored
Some cleanup in usb framework, nothing much on feature side. Signed-off-by:
Vikas C Sajjan <vikas.sajjan@samsung.com> Signed-off-by:
Vivek Gautam <gautam.vivek@samsung.com>
-
Vivek Gautam authored
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:
Vivek Gautam <gautam.vivek@samsung.com>
-