mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
SPARC: Build error fix
(introduced by commit 391fd93ab2
)
This patch makes SPARC targets build again. It is caused by
phys_addr_t and phys_size_t being defined in the wrong header
file. include/lmb.h need those typedefs to build.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
This commit is contained in:
parent
11ccc33fa2
commit
21ae6ca031
2 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,6 @@
|
||||||
* that can be used to access the memory range with the caching
|
* that can be used to access the memory range with the caching
|
||||||
* properties specified by "flags".
|
* properties specified by "flags".
|
||||||
*/
|
*/
|
||||||
typedef unsigned long phys_addr_t;
|
|
||||||
|
|
||||||
#define MAP_NOCACHE (0)
|
#define MAP_NOCACHE (0)
|
||||||
#define MAP_WRCOMBINE (0)
|
#define MAP_WRCOMBINE (0)
|
||||||
|
|
|
@ -65,6 +65,9 @@ typedef unsigned long long u64;
|
||||||
/* DMA addresses are 32-bits wide */
|
/* DMA addresses are 32-bits wide */
|
||||||
typedef u32 dma_addr_t;
|
typedef u32 dma_addr_t;
|
||||||
|
|
||||||
|
typedef unsigned long phys_addr_t;
|
||||||
|
typedef unsigned long phys_size_t;
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue