diff --git a/board/Kconfig b/board/Kconfig index 93d84c9..19277f5 100644 --- a/board/Kconfig +++ b/board/Kconfig @@ -7,6 +7,13 @@ menu "Device Support" help Say Y if you want to include support for iPhone 6 + config SAMSUNG_JACKPOTLTE + bool "Support for Samsung Galaxy A8 (2018)" + default n + depends on EXYNOS_7885 + help + Say Y if you want to include support for Samsung Galaxy A8 (2018) + config SAMSUNG_DREAMLTE bool "Support for Samsung Galaxy S8" default n @@ -28,6 +35,7 @@ menu "Device Specific Addresses" config PAYLOAD_ENTRY hex "Payload Entry Address" default 0x830000000 if APPLE_N61AP + default 0x090000000 if SAMSUNG_JACKPOTLTE default 0x090000000 if SAMSUNG_DREAMLTE default 0x090000000 if SAMSUNG_STARLTE @@ -35,6 +43,7 @@ menu "Device Specific Addresses" hex "Framebuffer Base Address (for SimpleFB)" depends on SIMPLE_FB default 0x83e900000 if APPLE_N61AP + default 0x0ec000000 if SAMSUNG_JACKPOTLTE default 0x0cc000000 if SAMSUNG_DREAMLTE default 0x0cc000000 if SAMSUNG_STARLTE @@ -42,6 +51,7 @@ menu "Device Specific Addresses" int "Framebuffer Width (for SimpleFB)" depends on SIMPLE_FB default 752 if APPLE_N61AP + default 1080 if SAMSUNG_JACKPOTLTE default 1440 if SAMSUNG_DREAMLTE default 1440 if SAMSUNG_STARLTE @@ -49,13 +59,15 @@ menu "Device Specific Addresses" int "Framebuffer Height (for SimpleFB)" depends on SIMPLE_FB default 1334 if APPLE_N61AP + default 2220 if SAMSUNG_JACKPOTLTE default 2960 if SAMSUNG_DREAMLTE default 2960 if SAMSUNG_STARLTE - + config FRAMEBUFFER_STRIDE int "Framebuffer Stride (for SimpleFB)" depends on SIMPLE_FB default 4 if APPLE_N61AP + default 4 if SAMSUNG_JACKPOTLTE default 4 if SAMSUNG_DREAMLTE default 4 if SAMSUNG_STARLTE diff --git a/board/Makefile b/board/Makefile index 54e623d..96af093 100644 --- a/board/Makefile +++ b/board/Makefile @@ -1,3 +1,4 @@ lib-$(CONFIG_APPLE_N61AP) += apple/board-n61ap.o +lib-$(CONFIG_SAMSUNG_JACKPOTLTE) += samsung/board-jackpotlte.o lib-$(CONFIG_SAMSUNG_DREAMLTE) += samsung/board-dreamlte.o lib-$(CONFIG_SAMSUNG_STARLTE) += samsung/board-starlte.o diff --git a/board/samsung/board-jackpotlte.c b/board/samsung/board-jackpotlte.c new file mode 100644 index 0000000..e63e15a --- /dev/null +++ b/board/samsung/board-jackpotlte.c @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2022, David Wronek + */ + +void board_init(void) { + +} diff --git a/configs/jackpotlte_defconfig b/configs/jackpotlte_defconfig new file mode 100644 index 0000000..27fc7ba --- /dev/null +++ b/configs/jackpotlte_defconfig @@ -0,0 +1,3 @@ +CONFIG_CROSS_COMPILE="aarch64-linux-gnu-" +CONFIG_EXYNOS_7885=y +CONFIG_SAMSUNG_JACKPOTLTE=y