mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
7d211fec96
This patch moves pxa to the common timer functions added in commit
8dfafdd
- Introduce common timer functions <Rob Herring>
The (removed) pxa timer code (specifically __udelay()) could deadlock at
the 32-bit boundary of get_ticks(). get_ticks() returned a 32-bit value
cast up to a 64-bit value. If get_ticks() + tmo in __udelay() crossed
the 32-bit boundary, the while condition became unconditionally true and
locked the processor. Rather than patch the specific pxa issues, simply
move everything over to the common code.
Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsuiko.com>
29 lines
525 B
C
29 lines
525 B
C
/*
|
|
* Copyright 2009 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_CONFIG_H_
|
|
#define _ASM_CONFIG_H_
|
|
|
|
#define CONFIG_LMB
|
|
#define CONFIG_SYS_BOOT_RAMDISK_HIGH
|
|
|
|
#ifdef CONFIG_ARM64
|
|
#define CONFIG_PHYS_64BIT
|
|
#define CONFIG_STATIC_RELA
|
|
#endif
|
|
|
|
#ifdef CONFIG_FSL_LSCH3
|
|
#include <asm/arch-fsl-lsch3/config.h>
|
|
#endif
|
|
|
|
#if defined(CONFIG_LS102XA) || \
|
|
defined(CONFIG_CPU_PXA27X) || \
|
|
defined(CONFIG_CPU_MONAHANS) || \
|
|
defined(CONFIG_CPU_PXA25X)
|
|
#include <asm/arch/config.h>
|
|
#endif
|
|
|
|
#endif
|