mirror of
https://github.com/ivoszbg/uniLoader.git
synced 2024-11-22 03:55:19 +00:00
Compare commits
4 Commits
3643d6a0c8
...
c4044f40fa
Author | SHA1 | Date | |
---|---|---|---|
|
c4044f40fa | ||
|
2daacf4645 | ||
|
e55d091dcc | ||
|
1f62b4e5ac |
@ -7,6 +7,13 @@ menu "Device Support"
|
|||||||
help
|
help
|
||||||
Say Y if you want to include support for iPhone 6
|
Say Y if you want to include support for iPhone 6
|
||||||
|
|
||||||
|
config SAMSUNG_NOBLELTE
|
||||||
|
bool "Support for Samsung Galaxy Note5"
|
||||||
|
default n
|
||||||
|
depends on EXYNOS_7420
|
||||||
|
help
|
||||||
|
Say Y if you want to include support for Samsung Galaxy Note5
|
||||||
|
|
||||||
config SAMSUNG_JACKPOTLTE
|
config SAMSUNG_JACKPOTLTE
|
||||||
bool "Support for Samsung Galaxy A8 (2018)"
|
bool "Support for Samsung Galaxy A8 (2018)"
|
||||||
default n
|
default n
|
||||||
@ -14,6 +21,13 @@ menu "Device Support"
|
|||||||
help
|
help
|
||||||
Say Y if you want to include support for Samsung Galaxy A8 (2018)
|
Say Y if you want to include support for Samsung Galaxy A8 (2018)
|
||||||
|
|
||||||
|
config SAMSUNG_ZEROFLTE
|
||||||
|
bool "Support for Samsung Galaxy S6"
|
||||||
|
default n
|
||||||
|
depends on EXYNOS_7420
|
||||||
|
help
|
||||||
|
Say Y if you want to include support for Samsung Galaxy S6
|
||||||
|
|
||||||
config SAMSUNG_DREAMLTE
|
config SAMSUNG_DREAMLTE
|
||||||
bool "Support for Samsung Galaxy S8"
|
bool "Support for Samsung Galaxy S8"
|
||||||
default n
|
default n
|
||||||
@ -35,7 +49,9 @@ menu "Device Specific Addresses"
|
|||||||
config PAYLOAD_ENTRY
|
config PAYLOAD_ENTRY
|
||||||
hex "Payload Entry Address"
|
hex "Payload Entry Address"
|
||||||
default 0x830000000 if APPLE_N61AP
|
default 0x830000000 if APPLE_N61AP
|
||||||
|
default 0x050000000 if SAMSUNG_NOBLELTE
|
||||||
default 0x090000000 if SAMSUNG_JACKPOTLTE
|
default 0x090000000 if SAMSUNG_JACKPOTLTE
|
||||||
|
default 0x090000000 if SAMSUNG_ZEROFLTE
|
||||||
default 0x090000000 if SAMSUNG_DREAMLTE
|
default 0x090000000 if SAMSUNG_DREAMLTE
|
||||||
default 0x090000000 if SAMSUNG_STARLTE
|
default 0x090000000 if SAMSUNG_STARLTE
|
||||||
|
|
||||||
@ -43,7 +59,9 @@ menu "Device Specific Addresses"
|
|||||||
hex "Framebuffer Base Address (for SimpleFB)"
|
hex "Framebuffer Base Address (for SimpleFB)"
|
||||||
depends on SIMPLE_FB
|
depends on SIMPLE_FB
|
||||||
default 0x83e900000 if APPLE_N61AP
|
default 0x83e900000 if APPLE_N61AP
|
||||||
|
default 0x0e2a00000 if SAMSUNG_NOBLELTE
|
||||||
default 0x0ec000000 if SAMSUNG_JACKPOTLTE
|
default 0x0ec000000 if SAMSUNG_JACKPOTLTE
|
||||||
|
default 0x0e2a00000 if SAMSUNG_ZEROFLTE
|
||||||
default 0x0cc000000 if SAMSUNG_DREAMLTE
|
default 0x0cc000000 if SAMSUNG_DREAMLTE
|
||||||
default 0x0cc000000 if SAMSUNG_STARLTE
|
default 0x0cc000000 if SAMSUNG_STARLTE
|
||||||
|
|
||||||
@ -51,7 +69,9 @@ menu "Device Specific Addresses"
|
|||||||
int "Framebuffer Width (for SimpleFB)"
|
int "Framebuffer Width (for SimpleFB)"
|
||||||
depends on SIMPLE_FB
|
depends on SIMPLE_FB
|
||||||
default 752 if APPLE_N61AP
|
default 752 if APPLE_N61AP
|
||||||
|
default 1440 if SAMSUNG_NOBLELTE
|
||||||
default 1080 if SAMSUNG_JACKPOTLTE
|
default 1080 if SAMSUNG_JACKPOTLTE
|
||||||
|
default 1440 if SAMSUNG_ZEROFLTE
|
||||||
default 1440 if SAMSUNG_DREAMLTE
|
default 1440 if SAMSUNG_DREAMLTE
|
||||||
default 1440 if SAMSUNG_STARLTE
|
default 1440 if SAMSUNG_STARLTE
|
||||||
|
|
||||||
@ -59,7 +79,9 @@ menu "Device Specific Addresses"
|
|||||||
int "Framebuffer Height (for SimpleFB)"
|
int "Framebuffer Height (for SimpleFB)"
|
||||||
depends on SIMPLE_FB
|
depends on SIMPLE_FB
|
||||||
default 1334 if APPLE_N61AP
|
default 1334 if APPLE_N61AP
|
||||||
|
default 2560 if SAMSUNG_NOBLELTE
|
||||||
default 2220 if SAMSUNG_JACKPOTLTE
|
default 2220 if SAMSUNG_JACKPOTLTE
|
||||||
|
default 2560 if SAMSUNG_ZEROFLTE
|
||||||
default 2960 if SAMSUNG_DREAMLTE
|
default 2960 if SAMSUNG_DREAMLTE
|
||||||
default 2960 if SAMSUNG_STARLTE
|
default 2960 if SAMSUNG_STARLTE
|
||||||
|
|
||||||
@ -67,7 +89,9 @@ menu "Device Specific Addresses"
|
|||||||
int "Framebuffer Stride (for SimpleFB)"
|
int "Framebuffer Stride (for SimpleFB)"
|
||||||
depends on SIMPLE_FB
|
depends on SIMPLE_FB
|
||||||
default 4 if APPLE_N61AP
|
default 4 if APPLE_N61AP
|
||||||
|
default 4 if SAMSUNG_NOBLELTE
|
||||||
default 4 if SAMSUNG_JACKPOTLTE
|
default 4 if SAMSUNG_JACKPOTLTE
|
||||||
|
default 4 if SAMSUNG_ZEROFLTE
|
||||||
default 4 if SAMSUNG_DREAMLTE
|
default 4 if SAMSUNG_DREAMLTE
|
||||||
default 4 if SAMSUNG_STARLTE
|
default 4 if SAMSUNG_STARLTE
|
||||||
|
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
lib-$(CONFIG_APPLE_N61AP) += apple/board-n61ap.o
|
lib-$(CONFIG_APPLE_N61AP) += apple/board-n61ap.o
|
||||||
|
lib-$(CONFIG_SAMSUNG_NOBLELTE) += samsung/board-noblelte.o
|
||||||
lib-$(CONFIG_SAMSUNG_JACKPOTLTE) += samsung/board-jackpotlte.o
|
lib-$(CONFIG_SAMSUNG_JACKPOTLTE) += samsung/board-jackpotlte.o
|
||||||
|
lib-$(CONFIG_SAMSUNG_ZEROFLTE) += samsung/board-zeroflte.o
|
||||||
lib-$(CONFIG_SAMSUNG_DREAMLTE) += samsung/board-dreamlte.o
|
lib-$(CONFIG_SAMSUNG_DREAMLTE) += samsung/board-dreamlte.o
|
||||||
lib-$(CONFIG_SAMSUNG_STARLTE) += samsung/board-starlte.o
|
lib-$(CONFIG_SAMSUNG_STARLTE) += samsung/board-starlte.o
|
||||||
|
8
board/samsung/board-noblelte.c
Normal file
8
board/samsung/board-noblelte.c
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2022, Faiz Faadhillah <faiz.faadhillah@gmail.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
void board_init(void) {
|
||||||
|
|
||||||
|
}
|
8
board/samsung/board-zeroflte.c
Normal file
8
board/samsung/board-zeroflte.c
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2022, David Wronek <w.david0@protonmail.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
void board_init(void) {
|
||||||
|
|
||||||
|
}
|
3
configs/noblelte_defconfig
Normal file
3
configs/noblelte_defconfig
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
CONFIG_CROSS_COMPILE="aarch64-linux-gnu-"
|
||||||
|
CONFIG_EXYNOS_7420=y
|
||||||
|
CONFIG_SAMSUNG_NOBLELTE=y
|
3
configs/zeroflte_defconfig
Normal file
3
configs/zeroflte_defconfig
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
CONFIG_CROSS_COMPILE="aarch64-linux-gnu-"
|
||||||
|
CONFIG_EXYNOS_7420=y
|
||||||
|
CONFIG_SAMSUNG_ZEROFLTE=y
|
12
include/soc/exynos7420.h
Normal file
12
include/soc/exynos7420.h
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2022, Faiz Faadhillah <faiz.faadhillah@gmail.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef EXYNOS7420_H_ /* Include guard */
|
||||||
|
#define EXYNOS7420_H_
|
||||||
|
|
||||||
|
#define DECON_F_BASE 0x13930000
|
||||||
|
#define HW_SW_TRIG_CONTROL 0x6b0
|
||||||
|
|
||||||
|
#endif // EXYNOS7420_H_
|
@ -16,6 +16,12 @@ choice
|
|||||||
help
|
help
|
||||||
Say Y if your device uses Apple T7000 SoC
|
Say Y if your device uses Apple T7000 SoC
|
||||||
|
|
||||||
|
config EXYNOS_7420
|
||||||
|
bool "Support for Exynos 7420"
|
||||||
|
default n
|
||||||
|
select EXYNOS
|
||||||
|
help
|
||||||
|
Say Y if your device uses Samsung Exynos7420 SoC
|
||||||
|
|
||||||
config EXYNOS_7885
|
config EXYNOS_7885
|
||||||
bool "Support for Exynos 7885"
|
bool "Support for Exynos 7885"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
lib-$(CONFIG_APPLE_T7000) += apple/t7000.o
|
lib-$(CONFIG_APPLE_T7000) += apple/t7000.o
|
||||||
|
lib-$(CONFIG_EXYNOS_7420) += exynos/exynos7420.o
|
||||||
lib-$(CONFIG_EXYNOS_7885) += exynos/exynos7885.o
|
lib-$(CONFIG_EXYNOS_7885) += exynos/exynos7885.o
|
||||||
lib-$(CONFIG_EXYNOS_8895) += exynos/exynos8895.o
|
lib-$(CONFIG_EXYNOS_8895) += exynos/exynos8895.o
|
||||||
lib-$(CONFIG_EXYNOS_9810) += exynos/exynos9810.o
|
lib-$(CONFIG_EXYNOS_9810) += exynos/exynos9810.o
|
||||||
|
10
soc/exynos/exynos7420.c
Normal file
10
soc/exynos/exynos7420.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2022, Faiz Faadhillah <faiz.faadhillah@gmail.com>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <soc/exynos7420.h>
|
||||||
|
|
||||||
|
void soc_init(void) {
|
||||||
|
*(int*) (DECON_F_BASE + HW_SW_TRIG_CONTROL) = 0x2058;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user