board: Commonize Exynos 990 platform

The Exynos 990 platform shares both the same
load addresses, ramdisk addresses and decon trigger offset.

This commit commonizes the platform between x1s and c1s targets.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
This commit is contained in:
BotchedRPR 2024-10-12 19:38:19 +02:00
parent 2d34fc0f91
commit 7dd7a2165d
No known key found for this signature in database
GPG Key ID: 51B26CE6CB80DBAB
3 changed files with 6 additions and 12 deletions

View File

@ -86,13 +86,12 @@ menu "Device Specific Addresses"
config PAYLOAD_ENTRY
hex "Payload Entry Address"
default 0x830000000 if APPLE_N61AP
default 0x090000000 if SAMSUNG_C1S
default 0x090000000 if EXYNOS_990
default 0x050000000 if SAMSUNG_NOBLELTE
default 0x090000000 if SAMSUNG_JACKPOTLTE
default 0x090000000 if SAMSUNG_ZEROFLTE
default 0x090000000 if SAMSUNG_DREAMLTE
default 0x090000000 if SAMSUNG_STARLTE
default 0x090000000 if SAMSUNG_X1S
default 0x050000000 if SAMSUNG_J4LTE
default 0x090000000 if SAMSUNG_J5LTE
default 0x090000000 if SAMSUNG_GTA4XL
@ -105,13 +104,12 @@ menu "Device Specific Addresses"
hex "Framebuffer Base Address (for SimpleFB)"
depends on SIMPLE_FB
default 0x83e900000 if APPLE_N61AP
default 0x0f1000000 if SAMSUNG_C1S
default 0x0f1000000 if EXYNOS_990
default 0x0e2a00000 if SAMSUNG_NOBLELTE
default 0x0ec000000 if SAMSUNG_JACKPOTLTE
default 0x0e2a00000 if SAMSUNG_ZEROFLTE
default 0x0cc000000 if SAMSUNG_DREAMLTE
default 0x0cc000000 if SAMSUNG_STARLTE
default 0x0f1000000 if SAMSUNG_X1S
default 0x067000000 if SAMSUNG_J4LTE
default 0x08e000000 if SAMSUNG_J5LTE
default 0x0ca000000 if SAMSUNG_GTA4XL
@ -150,13 +148,12 @@ menu "Device Specific Addresses"
int "Framebuffer Stride (for SimpleFB)"
depends on SIMPLE_FB
default 4 if APPLE_N61AP
default 4 if SAMSUNG_C1S
default 4 if EXYNOS_990
default 4 if SAMSUNG_NOBLELTE
default 4 if SAMSUNG_JACKPOTLTE
default 4 if SAMSUNG_ZEROFLTE
default 4 if SAMSUNG_DREAMLTE
default 4 if SAMSUNG_STARLTE
default 4 if SAMSUNG_X1S
default 4 if SAMSUNG_J4LTE
default 3 if SAMSUNG_J5LTE
default 4 if SAMSUNG_GTA4XL

View File

@ -6,9 +6,7 @@
#include <board.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>
#define DECON_F_BASE 0x19050000
#define HW_SW_TRIG_CONTROL 0x70
#include <soc/exynos990.h>
void init_board_funcs(void *board)
{
@ -29,6 +27,7 @@ int board_init(void)
{
/* Allow framebuffer to be written to */
*(int*) (DECON_F_BASE + HW_SW_TRIG_CONTROL) = 0x1281;
return 0;
}

View File

@ -6,9 +6,7 @@
#include <board.h>
#include <drivers/framework.h>
#include <lib/simplefb.h>
#define DECON_F_BASE 0x19050000
#define HW_SW_TRIG_CONTROL 0x70
#include <soc/exynos990.h>
void init_board_funcs(void *board)
{