mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-09-08 17:18:05 -04:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
6
arch/arm/mach-mediatek/Kconfig
Normal file
6
arch/arm/mach-mediatek/Kconfig
Normal file
|
@ -0,0 +1,6 @@
|
|||
config ARCH_MEDIATEK
|
||||
bool "Mediatek MT6589 SoC" if ARCH_MULTI_V7
|
||||
select ARM_GIC
|
||||
select MTK_TIMER
|
||||
help
|
||||
Support for Mediatek Cortex-A7 Quad-Core-SoC MT6589.
|
1
arch/arm/mach-mediatek/Makefile
Normal file
1
arch/arm/mach-mediatek/Makefile
Normal file
|
@ -0,0 +1 @@
|
|||
obj-$(CONFIG_ARCH_MEDIATEK) += mediatek.o
|
27
arch/arm/mach-mediatek/mediatek.c
Normal file
27
arch/arm/mach-mediatek/mediatek.c
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Device Tree support for Mediatek SoCs
|
||||
*
|
||||
* Copyright (c) 2014 MundoReader S.L.
|
||||
* Author: Matthias Brugger <matthias.bgg@gmail.com>
|
||||
*
|
||||
* 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; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* 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 <linux/init.h>
|
||||
#include <asm/mach/arch.h>
|
||||
|
||||
static const char * const mediatek_board_dt_compat[] = {
|
||||
"mediatek,mt6589",
|
||||
NULL,
|
||||
};
|
||||
|
||||
DT_MACHINE_START(MEDIATEK_DT, "Mediatek Cortex-A7 (Device Tree)")
|
||||
.dt_compat = mediatek_board_dt_compat,
|
||||
MACHINE_END
|
Loading…
Add table
Add a link
Reference in a new issue