Merge pull request #44 from chmcax/gta4xl/two

board: move gta4xl device specific addresses to defconfig
This commit is contained in:
Ивайло Иванов
2025-09-29 23:10:08 +03:00
committed by GitHub
3 changed files with 9 additions and 11 deletions

View File

@@ -166,12 +166,10 @@ menu "Device Specific Addresses"
hex "Payload Entry Address"
default 0x050000000 if SAMSUNG_J4LTE
default 0x090000000 if SAMSUNG_J5LTE
default 0x090000000 if SAMSUNG_GTA4XL
default 0x60000000 if VOLLA_ALGIZ
config RAMDISK_ENTRY
hex "Ramdisk Entry Address"
default 0x084000000 if SAMSUNG_GTA4XL
default 0x51100000 if VOLLA_ALGIZ
config FRAMEBUFFER_BASE
@@ -180,7 +178,6 @@ menu "Device Specific Addresses"
default 0
default 0x067000000 if SAMSUNG_J4LTE
default 0x08e000000 if SAMSUNG_J5LTE
default 0x0ca000000 if SAMSUNG_GTA4XL
default 0x7d010000 if VOLLA_ALGIZ
config FRAMEBUFFER_WIDTH
@@ -189,7 +186,6 @@ menu "Device Specific Addresses"
default 0
default 720 if SAMSUNG_J4LTE
default 720 if SAMSUNG_J5LTE
default 1200 if SAMSUNG_GTA4XL
default 1080 if VOLLA_ALGIZ
config FRAMEBUFFER_HEIGHT
@@ -198,7 +194,6 @@ menu "Device Specific Addresses"
default 0
default 1280 if SAMSUNG_J4LTE
default 1280 if SAMSUNG_J5LTE
default 2000 if SAMSUNG_GTA4XL
default 2400 if VOLLA_ALGIZ
config FRAMEBUFFER_STRIDE
@@ -207,7 +202,6 @@ menu "Device Specific Addresses"
default 0
default 4 if SAMSUNG_J4LTE
default 3 if SAMSUNG_J5LTE
default 4 if SAMSUNG_GTA4XL
default 4 if VOLLA_ALGIZ
config FRAMEBUFFER_BGRA

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2024 Alexandru Chimac <alexchimac@protonmail.com>
* Copyright (c) 2025, Alexandru Chimac <alex@chimac.ro>
* Copyright (c) 2024, Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
*/
#include <board.h>
@@ -27,10 +27,10 @@ int gta4xl_late_init(void)
#ifdef CONFIG_SIMPLE_FB
static struct video_info gta4xl_fb = {
.format = FB_FORMAT_ARGB8888,
.width = CONFIG_FRAMEBUFFER_WIDTH,
.height = CONFIG_FRAMEBUFFER_HEIGHT,
.stride = CONFIG_FRAMEBUFFER_STRIDE,
.address = (void *)CONFIG_FRAMEBUFFER_BASE
.width = 1200,
.height = 2000,
.stride = 4,
.address = (void *)0xca000000
};
#endif

View File

@@ -1,3 +1,7 @@
CONFIG_CROSS_COMPILE="aarch64-linux-gnu-"
CONFIG_EXYNOS_9610=y
CONFIG_SAMSUNG_GTA4XL=y
CONFIG_POSITION_INDEPENDENT=y
CONFIG_TEXT_BASE=0x88000000
CONFIG_PAYLOAD_ENTRY=0x90000000
CONFIG_RAMDISK_ENTRY=0x84000000