Compare commits

...

3 Commits

Author SHA1 Message Date
Igor
f39a442b12
Merge b29cd0ea65 into 8b562d28fa 2024-10-22 11:29:48 +03:00
BotchedRPR
b29cd0ea65
board: Kconfig: Add Exynos 990 ramdisk entry address
This commit adds the entry address for
the Exynos 990 platform.

Signed-off-by: Igor Belwon <igor.belwon@mentallysanemainliners.org>
2024-10-12 19:41:07 +02:00
BotchedRPR
7dd7a2165d
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>
2024-10-12 19:38:19 +02:00
3 changed files with 7 additions and 12 deletions

View File

@ -86,19 +86,19 @@ 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
config RAMDISK_ENTRY
hex "Ramdisk Entry Address"
default 0x082000000 if EXYNOS_990
default 0x082000000 if SAMSUNG_DREAMLTE
default 0x084000000 if SAMSUNG_C1S
default 0x084000000 if SAMSUNG_X1S
@ -107,13 +107,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
@ -152,13 +151,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)
{