u-boot-brain/arch/arm/include/asm/arch-mediatek/misc.h
Ryder Lee cbd2fba1ec arm: MediaTek: add basic support for MT7629 boards
This adds a general board file based on MT7629 SoCs from MediaTek.

Apart from the generic parts (cpu) we add some low level init codes
and initialize the early clocks.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2018-11-28 23:04:50 -05:00

18 lines
321 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2018 MediaTek Inc.
*/
#ifndef __MEDIATEK_MISC_H_
#define __MEDIATEK_MISC_H_
#define VER_BASE 0x08000000
#define VER_SIZE 0x10
#define APHW_CODE 0x00
#define APHW_SUBCODE 0x04
#define APHW_VER 0x08
#define APSW_VER 0x0c
#endif /* __MEDIATEK_MISC_H_ */