2018-06-01 08:33:11 +02:00
|
|
|
/*
|
|
|
|
* This file is part of the coreboot project.
|
|
|
|
*
|
|
|
|
* Copyright 2018 MediaTek Inc.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; version 2 of the License.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <bootblock_common.h>
|
2018-06-08 12:21:45 +02:00
|
|
|
#include <soc/mmu_operations.h>
|
2018-06-01 08:33:11 +02:00
|
|
|
#include <soc/wdt.h>
|
|
|
|
|
|
|
|
void bootblock_soc_init(void)
|
|
|
|
{
|
2018-06-08 12:21:45 +02:00
|
|
|
mtk_mmu_init();
|
2018-06-01 08:33:11 +02:00
|
|
|
mtk_wdt_init();
|
|
|
|
}
|