mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-16 22:51:32 +00:00
e67ae6be73
This hooks the Integrator/AP into the SoC bus when booting from device tree, by mapping the AP controller registers first, then registering the SoC device, and then populating the device tree with the SoC device as parent. Introduce some helpers in the core to provide sysfs files detailing the use of the SoC ID which will later be reused by the Integrator/CP patch for the same bus grouping. Cc: Lee Jones <lee.jones@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 lines
285 B
C
8 lines
285 B
C
#include <linux/amba/serial.h>
|
|
extern struct amba_pl010_data integrator_uart_data;
|
|
void integrator_init_early(void);
|
|
int integrator_init(bool is_cp);
|
|
void integrator_reserve(void);
|
|
void integrator_restart(char, const char *);
|
|
void integrator_init_sysfs(struct device *parent, u32 id);
|