2008-09-01 02:26:09 -07:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2008 Travis Geiselbrecht
|
|
|
|
|
*
|
2019-07-05 17:22:23 -07:00
|
|
|
* Use of this source code is governed by a MIT-style
|
|
|
|
|
* license that can be found in the LICENSE file or at
|
|
|
|
|
* https://opensource.org/licenses/MIT
|
2008-09-01 02:26:09 -07:00
|
|
|
*/
|
2019-06-17 18:28:51 -07:00
|
|
|
#include <lk/err.h>
|
|
|
|
|
#include <lk/debug.h>
|
2008-09-01 02:26:09 -07:00
|
|
|
#include <platform.h>
|
|
|
|
|
#include "platform_p.h"
|
|
|
|
|
|
2019-06-19 20:54:28 -07:00
|
|
|
void platform_init_mmu_mappings(void) {
|
2008-09-01 02:26:09 -07:00
|
|
|
}
|
|
|
|
|
|
2019-06-19 20:54:28 -07:00
|
|
|
void platform_early_init(void) {
|
2016-02-14 12:24:01 -08:00
|
|
|
/* initialize the interrupt controller */
|
|
|
|
|
platform_init_interrupts();
|
2008-09-01 02:26:09 -07:00
|
|
|
|
2016-02-14 12:24:01 -08:00
|
|
|
/* initialize the timer block */
|
|
|
|
|
platform_init_timer();
|
2015-09-01 13:26:27 -07:00
|
|
|
|
2016-02-14 12:24:01 -08:00
|
|
|
/* initialize the display */
|
|
|
|
|
platform_init_display();
|
2008-09-01 02:26:09 -07:00
|
|
|
}
|
|
|
|
|
|
2019-06-19 20:54:28 -07:00
|
|
|
void platform_init(void) {
|
2016-02-14 12:24:01 -08:00
|
|
|
platform_init_blkdev();
|
2008-09-01 02:26:09 -07:00
|
|
|
}
|
|
|
|
|
|