- 14 5月, 2013 12 次提交
-
-
由 Doug Anderson 提交于
Any pointers to name strings that were passed to bootstage_mark_name() pre-relocation should be copied post-relocation so that they don't get trashed as the original location of U-Boot is re-used for other purposes. This change introduces a new API call that should be called from board_init_r() after malloc has been initted on any board that uses bootstage. Signed-off-by: NDoug Anderson <dianders@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Some functions don't have a stub for when CONFIG_BOOTSTAGE is not defined. Add one to avoid #ifdefs in the code when this is used in U-Boot. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NChe-Liang Chiou <clchiou@chromium.org> Reviewed-by: NTom Wai-Hong Tam <waihong@chromium.org>
-
由 Simon Glass 提交于
While we don't want PCAT timers for timing, we want timer 2 so that we can still make a beep. Re-purpose the PCAT driver for this, and enable it in coreboot. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This is no longer used since we prefer the more accurate TSC timer, so remove the dead code. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Simon Glass 提交于
Tidy up some old broken and unneeded implementations. These are not used by coreboot or anything else now. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NGabe Black <gabeblack@chromium.org> Reviewed-by: NMichael Spang <spang@chromium.org> Reviewed-by: NVadim Bendebury <vbendeb@chromium.org> Acked-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org> Reviewed-by: NMichael Spang <spang@chromium.org> Acked-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Simon Glass 提交于
panic_puts() can be called in early boot to display a message. It might help with early debugging. Signed-off-by: NSimon Glass <sjg@chromium.org> Reviewed-by: NTom Wai-Hong Tam <waihong@chromium.org>
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Since we use CONFIG_SYS_GENERIC_BOARD on x86, we don't need this anymore. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Simon Glass 提交于
Since we don't have real-mode code now, we can remove this chunk of the link script. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Simon Glass 提交于
Graeme Russ pointed out that this code is no longer used. Remove it. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NGraeme Russ <graeme.russ@gmail.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 5 次提交
-
-
由 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>
-