diff options
Diffstat (limited to 'arch/powerpc/boot/ops.h')
-rw-r--r-- | arch/powerpc/boot/ops.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h index fa62ff223e70..cad4eee599fb 100644 --- a/arch/powerpc/boot/ops.h +++ b/arch/powerpc/boot/ops.h | |||
@@ -59,7 +59,13 @@ struct serial_console_data { | |||
59 | void (*close)(void); | 59 | void (*close)(void); |
60 | }; | 60 | }; |
61 | 61 | ||
62 | int platform_init(void *promptr, char *dt_blob_start, char *dt_blob_end); | 62 | struct loader_info { |
63 | void *promptr; | ||
64 | unsigned long initrd_addr, initrd_size; | ||
65 | }; | ||
66 | extern struct loader_info loader_info; | ||
67 | |||
68 | void start(void *sp); | ||
63 | int ft_init(void *dt_blob, unsigned int max_size, unsigned int max_find_device); | 69 | int ft_init(void *dt_blob, unsigned int max_size, unsigned int max_find_device); |
64 | int serial_console_init(void); | 70 | int serial_console_init(void); |
65 | int ns16550_console_init(void *devp, struct serial_console_data *scdp); | 71 | int ns16550_console_init(void *devp, struct serial_console_data *scdp); |
@@ -100,4 +106,8 @@ static inline void exit(void) | |||
100 | for(;;); | 106 | for(;;); |
101 | } | 107 | } |
102 | 108 | ||
109 | #define BSS_STACK(size) \ | ||
110 | static char _bss_stack[size]; \ | ||
111 | void *_platform_stack_top = _bss_stack + sizeof(_bss_stack); | ||
112 | |||
103 | #endif /* _PPC_BOOT_OPS_H_ */ | 113 | #endif /* _PPC_BOOT_OPS_H_ */ |