mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 13:36:45 +07:00
f8e819352d
Add R-Car Gen2 CMA memory reservation code that can be shared between multiple SoCs and boards. At this point r8a7790 and r8a7791 are supported. The top 256MiB of the legacy 32-bit physical memory space is assigned to a separate CMA area that may be assigned to various devices later on. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> [horms+renesas@verge.net.au: rebased] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
10 lines
213 B
C
10 lines
213 B
C
#ifndef __ASM_RCAR_GEN2_H__
|
|
#define __ASM_RCAR_GEN2_H__
|
|
|
|
void rcar_gen2_timer_init(void);
|
|
#define MD(nr) BIT(nr)
|
|
u32 rcar_gen2_read_mode_pins(void);
|
|
void rcar_gen2_reserve(void);
|
|
|
|
#endif /* __ASM_RCAR_GEN2_H__ */
|