board: zeroflte: Add support for Samsung Galaxy S6

Signed-off-by: David Wronek <w.david0@protonmail.com>
This commit is contained in:
David Wronek 2022-07-09 08:36:46 +02:00
parent e55d091dcc
commit 2daacf4645
No known key found for this signature in database
GPG Key ID: CEE5D6D95A623EDD
4 changed files with 24 additions and 0 deletions

View File

@ -21,6 +21,13 @@ menu "Device Support"
help help
Say Y if you want to include support for Samsung Galaxy A8 (2018) Say Y if you want to include support for Samsung Galaxy A8 (2018)
config SAMSUNG_ZEROFLTE
bool "Support for Samsung Galaxy S6"
default n
depends on EXYNOS_7420
help
Say Y if you want to include support for Samsung Galaxy S6
config SAMSUNG_DREAMLTE config SAMSUNG_DREAMLTE
bool "Support for Samsung Galaxy S8" bool "Support for Samsung Galaxy S8"
default n default n
@ -44,6 +51,7 @@ menu "Device Specific Addresses"
default 0x830000000 if APPLE_N61AP default 0x830000000 if APPLE_N61AP
default 0x050000000 if SAMSUNG_NOBLELTE default 0x050000000 if SAMSUNG_NOBLELTE
default 0x090000000 if SAMSUNG_JACKPOTLTE default 0x090000000 if SAMSUNG_JACKPOTLTE
default 0x090000000 if SAMSUNG_ZEROFLTE
default 0x090000000 if SAMSUNG_DREAMLTE default 0x090000000 if SAMSUNG_DREAMLTE
default 0x090000000 if SAMSUNG_STARLTE default 0x090000000 if SAMSUNG_STARLTE
@ -53,6 +61,7 @@ menu "Device Specific Addresses"
default 0x83e900000 if APPLE_N61AP default 0x83e900000 if APPLE_N61AP
default 0x0e2a00000 if SAMSUNG_NOBLELTE default 0x0e2a00000 if SAMSUNG_NOBLELTE
default 0x0ec000000 if SAMSUNG_JACKPOTLTE default 0x0ec000000 if SAMSUNG_JACKPOTLTE
default 0x0e2a00000 if SAMSUNG_ZEROFLTE
default 0x0cc000000 if SAMSUNG_DREAMLTE default 0x0cc000000 if SAMSUNG_DREAMLTE
default 0x0cc000000 if SAMSUNG_STARLTE default 0x0cc000000 if SAMSUNG_STARLTE
@ -62,6 +71,7 @@ menu "Device Specific Addresses"
default 752 if APPLE_N61AP default 752 if APPLE_N61AP
default 1440 if SAMSUNG_NOBLELTE default 1440 if SAMSUNG_NOBLELTE
default 1080 if SAMSUNG_JACKPOTLTE default 1080 if SAMSUNG_JACKPOTLTE
default 1440 if SAMSUNG_ZEROFLTE
default 1440 if SAMSUNG_DREAMLTE default 1440 if SAMSUNG_DREAMLTE
default 1440 if SAMSUNG_STARLTE default 1440 if SAMSUNG_STARLTE
@ -71,6 +81,7 @@ menu "Device Specific Addresses"
default 1334 if APPLE_N61AP default 1334 if APPLE_N61AP
default 2560 if SAMSUNG_NOBLELTE default 2560 if SAMSUNG_NOBLELTE
default 2220 if SAMSUNG_JACKPOTLTE default 2220 if SAMSUNG_JACKPOTLTE
default 2560 if SAMSUNG_ZEROFLTE
default 2960 if SAMSUNG_DREAMLTE default 2960 if SAMSUNG_DREAMLTE
default 2960 if SAMSUNG_STARLTE default 2960 if SAMSUNG_STARLTE
@ -80,6 +91,7 @@ menu "Device Specific Addresses"
default 4 if APPLE_N61AP default 4 if APPLE_N61AP
default 4 if SAMSUNG_NOBLELTE default 4 if SAMSUNG_NOBLELTE
default 4 if SAMSUNG_JACKPOTLTE default 4 if SAMSUNG_JACKPOTLTE
default 4 if SAMSUNG_ZEROFLTE
default 4 if SAMSUNG_DREAMLTE default 4 if SAMSUNG_DREAMLTE
default 4 if SAMSUNG_STARLTE default 4 if SAMSUNG_STARLTE

View File

@ -1,5 +1,6 @@
lib-$(CONFIG_APPLE_N61AP) += apple/board-n61ap.o lib-$(CONFIG_APPLE_N61AP) += apple/board-n61ap.o
lib-$(CONFIG_SAMSUNG_NOBLELTE) += samsung/board-noblelte.o lib-$(CONFIG_SAMSUNG_NOBLELTE) += samsung/board-noblelte.o
lib-$(CONFIG_SAMSUNG_JACKPOTLTE) += samsung/board-jackpotlte.o lib-$(CONFIG_SAMSUNG_JACKPOTLTE) += samsung/board-jackpotlte.o
lib-$(CONFIG_SAMSUNG_ZEROFLTE) += samsung/board-zeroflte.o
lib-$(CONFIG_SAMSUNG_DREAMLTE) += samsung/board-dreamlte.o lib-$(CONFIG_SAMSUNG_DREAMLTE) += samsung/board-dreamlte.o
lib-$(CONFIG_SAMSUNG_STARLTE) += samsung/board-starlte.o lib-$(CONFIG_SAMSUNG_STARLTE) += samsung/board-starlte.o

View File

@ -0,0 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2022, David Wronek <w.david0@protonmail.com>
*/
void board_init(void) {
}

View File

@ -0,0 +1,3 @@
CONFIG_CROSS_COMPILE="aarch64-linux-gnu-"
CONFIG_EXYNOS_7420=y
CONFIG_SAMSUNG_ZEROFLTE=y