summaryrefslogtreecommitdiff
path: root/core/nds32/cpu.c
blob: 6a3f3b5bc47a04eb65e7f1ffa9b1b506b31e8f3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright 2013 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * Set up the N8 core
 */

#include "cpu.h"
#include "registers.h"

void cpu_init(void)
{
	/* DLM initialization is done in init.S */
	/* Global interrupt enable */
	asm volatile ("setgie.e");
}