- 11 10月, 2018 1 次提交
-
-
由 Patrick Delaunay 提交于
The interruption support had be removed for ARM architecture and the function get_timer_masked() is no more used except in some the timer.c files. This patch clean each timer.c which implement this function and remove the associated prototype in u-boot-arm.h For timer.c, I don't verify if the weak version of get_timer (in lib/time.c) can be used Signed-off-by: NPatrick Delaunay <patrick.delaunay@st.com>
-
- 07 5月, 2018 1 次提交
-
-
由 Tom Rini 提交于
When U-Boot started using SPDX tags we were among the early adopters and there weren't a lot of other examples to borrow from. So we picked the area of the file that usually had a full license text and replaced it with an appropriate SPDX-License-Identifier: entry. Since then, the Linux Kernel has adopted SPDX tags and they place it as the very first line in a file (except where shebangs are used, then it's second line) and with slightly different comment styles than us. In part due to community overlap, in part due to better tag visibility and in part for other minor reasons, switch over to that style. This commit changes all instances where we have a single declared license in the tag as both the before and after are identical in tag contents. There's also a few places where I found we did not have a tag and have introduced one. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 22 11月, 2016 1 次提交
-
-
由 Tom Rini 提交于
This moves what was in arch/arm/cpu/armv7/omap-common in to arch/arm/mach-omap2 and moves arch/arm/cpu/armv7/{am33xx,omap3,omap4,omap5} in to arch/arm/mach-omap2 as subdirectories. All refernces to the former locations are updated to the current locations. For the logic to decide what our outputs are, consolidate the tests into a single config.mk rather than including 4. Signed-off-by: NTom Rini <trini@konsulko.com>
-
- 25 6月, 2016 1 次提交
-
-
由 Daniel Gorsulowski 提交于
Signed-off-by: NDaniel Gorsulowski <daniel.gorsulowski@esd.eu>
-
- 06 1月, 2015 1 次提交
-
-
由 Tom Rini 提交于
The gd will be cleared at first so we don't need to set arch.tbl to 0. In addition, the checks later against lastinc also work fine with an initial value of 0 here. This also brings us in line with sunxi code for example. Signed-off-by: NTom Rini <trini@ti.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 10 6月, 2013 1 次提交
-
-
由 Sricharan R 提交于
The sys_clk on the dra evm board is 20MHZ. Changing the configuration for the same. And also moving V_SCLK, V_OSCK defines to arch/clock.h for OMAP4+ boards. Signed-off-by: NSricharan R <r.sricharan@ti.com> Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
-
- 25 3月, 2013 1 次提交
-
-
由 Tom Rini 提交于
- In arch/arm/cpu/armv7/omap-common/timer.c, drivers/mtd/nand/omap_gpmc.c and drivers/net/cpsw.c add #include files that the driver needs but had been relying on <config.h> to bring in. - In arch/arm/cpu/armv7/omap-common/lowlevel_init.S add <config.h> - In am335x_evm.h and pcm051.h don't globally include <asm/arch/hardware.h> and <asm/arch/cpu.h> but just <asm/arch/omap.h> as that is the only include which defines things the config uses. Cc: Lars Poeschel <poeschel@lemonage.de> Signed-off-by: NTom Rini <trini@ti.com>
-
- 02 2月, 2013 2 次提交
-
-
由 Simon Glass 提交于
Move this field into arch_global_data and tidy up. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Move this field into arch_global_data and tidy up. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 26 7月, 2011 3 次提交
-
-
由 Graeme Russ 提交于
In some circumstances, reset_timer_masked() was called be timer_init() in order to perform architecture specific timer initialisation. In such cases, the required code in reset_timer_masked() has been moved into timer_init()
-
由 Graeme Russ 提交于
-
由 Graeme Russ 提交于
-
- 04 7月, 2011 1 次提交
-
-
由 John Rigby 提交于
As implemented now the timer used to implement __udelay counts to 0xffffffff and then gets stuck there because the the programmed reload value is 0xffffffff. This value is not only wrong but illegal according to the reference manual. One can reproduce the bug by leaving a board at the u-boot prompt for sometime then issuing a sleep command. The sleep will hang forever. The timer is a count up timer that reloads as it rolls over from 0xffffffff so the correct load value is 0. Change TIMER_LOAD_VAL from 0xffffffff to 0 and introduce a new constant called TIMER_OVERFLOW_VAL set to 0xffffffff. Signed-off-by: NJohn Rigby <john.rigby@linaro.org> Tested-by: NIgor Grinberg <grinberg@compulab.co.il>
-
- 11 12月, 2010 1 次提交
-
-
由 Dirk Behme 提交于
Reuse the gd->tbl value for timestamp and add gd->lastinc for lastinc bss values in the OMAP timer driver. The usage of bss values in drivers before initialisation of bss is forbidden. In that special case some data in .rel.dyn gets corrupted. Signed-off-by: NDirk Behme <dirk.behme@gmail.com> Tested-by: NSteve Sakoman <steve.sakoman@linaro.org> Tested-by: NJohn Rigby <john.rigby@linaro.org> Tested-by: NNishanth Menon <nm@ti.com> Acked-by: NNishanth Menon <nm@ti.com> Tested-by: NHeiko Schocher <hs@denx.de> Tested-by: NSandeep Paulraj <s-paulraj@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 05 8月, 2010 1 次提交
-
-
由 Steve Sakoman 提交于
The OMAP4 x-load code sets gptimer1 clock source to 32Khz. This isn't acceptable for udelay. This patch changes from gptimer1 to gptimer2, which uses sys_clk at 38.4 Mhz. Signed-off-by: NSteve Sakoman <steve@sakoman.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 06 7月, 2010 2 次提交
-
-
由 Steve Sakoman 提交于
This patch adds minimum support for OMAP4. Code which can be shared between OMAP3 and OMAP4 is placed in arch/arm/cpu/armv7/omap-common Signed-off-by: NAneesh V <aneesh@ti.com> Signed-off-by: NSteve Sakoman <steve@sakoman.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
由 Steve Sakoman 提交于
The purpose of this patch is to prepare for adding the OMAP4 architecture, which is Cortex A9 Cortex A8 and A9 both belong to the armv7 architecture, hence the name change. The two architectures are similar enough that substantial code can be shared. Signed-off-by: NAneesh V <aneesh@ti.com> Signed-off-by: NSteve Sakoman <steve@sakoman.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 13 4月, 2010 1 次提交
-
-
由 Peter Tyser 提交于
Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
- 05 12月, 2009 1 次提交
-
-
由 Ingo van Lil 提交于
According to the PPC reference implementation the udelay() function is responsible for resetting the watchdog timer as frequently as needed. Most other architectures do not meet that requirement, so long-running operations might result in a watchdog reset. This patch adds a generic udelay() function which takes care of resetting the watchdog before calling an architecture-specific __udelay(). Signed-off-by: NIngo van Lil <inguin@gmx.de>
-
- 08 8月, 2009 1 次提交
-
-
由 Dirk Behme 提交于
Signed-off-by: NMatthias Ludwig <mludwig@ultratronik.de> Signed-off-by: NDirk Behme <dirk.behme@googlemail.com>
-
- 13 6月, 2009 2 次提交
-
-
actually the timer init use the interrupt_init as init callback which make the interrupt and timer implementation difficult to follow so now rename it as int timer_init(void) and use interrupt_init for interrupt btw also remane the corresponding file to the functionnality implemented as ixp arch implement two timer - one based on interrupt - so all the timer related code is moved to timer.c Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Remove duplicated interrupt code. Original, identical code can be found in lib_arm/interrupts.c Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: NDirk Behme <dirk.behme@googlemail.com>
-
- 16 5月, 2009 1 次提交
-
-
由 Detlev Zundel 提交于
Signed-off-by: NDetlev Zundel <dzu@denx.de>
-
- 01 5月, 2009 1 次提交
-
-
由 Manikandan Pillai 提交于
Signed-off-by: NDirk Behme <dirk.behme@googlemail.com> Signed-off-by: NManikandan Pillai <mani.pillai@ti.com>
-
- 31 3月, 2009 1 次提交
-
-
由 Ladislav Michl 提交于
Divisor field is called PTV not PVT. Signed-off-by: NLadislav Michl <ladis@linux-mips.org> Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 25 1月, 2009 1 次提交
-
-
由 Dirk Behme 提交于
Add common board, interrupt and system info code. Signed-off-by: NDirk Behme <dirk.behme@googlemail.com>
-