upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
788 B
39 lines
788 B
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2011 The Chromium OS Authors.
|
|
*/
|
|
|
|
#ifndef __ASM_SANDBOX_TYPES_H
|
|
#define __ASM_SANDBOX_TYPES_H
|
|
|
|
#include <asm-generic/int-ll64.h>
|
|
|
|
typedef unsigned short umode_t;
|
|
|
|
/*
|
|
* These aren't exported outside the kernel to avoid name space clashes
|
|
*/
|
|
#ifdef __KERNEL__
|
|
|
|
/*
|
|
* Number of bits in a C 'long' on this architecture.
|
|
*/
|
|
#ifdef CONFIG_PHYS64
|
|
#define BITS_PER_LONG 64
|
|
#else /* CONFIG_PHYS64 */
|
|
#define BITS_PER_LONG 32
|
|
#endif /* CONFIG_PHYS64 */
|
|
|
|
#ifdef CONFIG_PHYS64
|
|
typedef unsigned long long dma_addr_t;
|
|
typedef u64 phys_addr_t;
|
|
typedef u64 phys_size_t;
|
|
#else /* CONFIG_PHYS64 */
|
|
typedef unsigned long dma_addr_t;
|
|
typedef u32 phys_addr_t;
|
|
typedef u32 phys_size_t;
|
|
#endif /* CONFIG_PHYS64 */
|
|
|
|
#endif /* __KERNEL__ */
|
|
|
|
#endif
|
|
|