Rev 899 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 899 | Rev 934 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | #include <arch/console.h> |
29 | #include <arch/console.h> |
30 | #include <genarch/ofw/ofw.h> |
- | |
31 | #include <console/chardev.h> |
30 | #include <console/chardev.h> |
32 | #include <console/console.h> |
31 | #include <console/console.h> |
33 | #include <genarch/fb/fb.h> |
32 | #include <genarch/fb/fb.h> |
34 | 33 | ||
35 | 34 | ||
36 | /** Initialize console to use frame buffer. */ |
35 | /** Initialize console to use frame buffer. */ |
37 | void ppc32_console_init(void) |
36 | void ppc32_console_init(void) |
38 | { |
37 | { |
39 | /* TODO: PCI detection etc. etc. - this is fine in PearPC for now */ |
38 | /* TODO: PCI detection etc. etc. - this is fine in PearPC for now */ |
40 | fb_init(0x84000000,800,600,4); |
39 | fb_init(0x84000000, 800, 600, 4); |
41 | } |
40 | } |