board: move a336b device specific addresses to defconfig

This is done with the idea of uncluttering the Kconfig
This commit is contained in:
Ivaylo Ivanov
2025-07-09 12:04:02 +03:00
parent a8968af653
commit 2ebd7ac7a5
2 changed files with 8 additions and 6 deletions

View File

@@ -135,7 +135,6 @@ menu "Device Specific Addresses"
config PAYLOAD_ENTRY
hex "Payload Entry Address"
default 0x090000000 if SAMSUNG_A336B
default 0x090000000 if SAMSUNG_C1S
default 0x090000000 if SAMSUNG_G0S
default 0x050000000 if SAMSUNG_NOBLELTE
@@ -151,7 +150,6 @@ menu "Device Specific Addresses"
config RAMDISK_ENTRY
hex "Ramdisk Entry Address"
default 0x084000000 if SAMSUNG_A336B
default 0x084000000 if SAMSUNG_C1S
default 0x084000000 if SAMSUNG_G0S
default 0x084000000 if SAMSUNG_X1S
@@ -162,7 +160,6 @@ menu "Device Specific Addresses"
config FRAMEBUFFER_BASE
hex "Framebuffer Base Address (for SimpleFB)"
depends on SIMPLE_FB
default 0x0fa200000 if SAMSUNG_A336B
default 0x0f1000000 if SAMSUNG_C1S
default 0x0f6200000 if SAMSUNG_G0S
default 0x0e2a00000 if SAMSUNG_NOBLELTE
@@ -179,7 +176,6 @@ menu "Device Specific Addresses"
config FRAMEBUFFER_WIDTH
int "Framebuffer Width (for SimpleFB)"
depends on SIMPLE_FB
default 1080 if SAMSUNG_A336B
default 1080 if SAMSUNG_C1S
default 1080 if SAMSUNG_G0S
default 1440 if SAMSUNG_NOBLELTE
@@ -196,7 +192,6 @@ menu "Device Specific Addresses"
config FRAMEBUFFER_HEIGHT
int "Framebuffer Height (for SimpleFB)"
depends on SIMPLE_FB
default 2400 if SAMSUNG_A336B
default 2400 if SAMSUNG_C1S
default 2340 if SAMSUNG_G0S
default 2560 if SAMSUNG_NOBLELTE
@@ -213,7 +208,6 @@ menu "Device Specific Addresses"
config FRAMEBUFFER_STRIDE
int "Framebuffer Stride (for SimpleFB)"
depends on SIMPLE_FB
default 4 if SAMSUNG_A336B
default 4 if SAMSUNG_C1S
default 4 if SAMSUNG_G0S
default 4 if SAMSUNG_NOBLELTE

8
configs/a336b_defconfig Normal file
View File

@@ -0,0 +1,8 @@
CONFIG_EXYNOS_1280=y
CONFIG_SAMSUNG_A336B=y
CONFIG_PAYLOAD_ENTRY=0x90000000
CONFIG_RAMDISK_ENTRY=0x84000000
CONFIG_FRAMEBUFFER_BASE=0xfa200000
CONFIG_FRAMEBUFFER_WIDTH=1080
CONFIG_FRAMEBUFFER_HEIGHT=2400
CONFIG_FRAMEBUFFER_STRIDE=4