Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef _PPC_BOOT_CUBOOT_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _PPC_BOOT_CUBOOT_H_
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) void cuboot_init(unsigned long r4, unsigned long r5,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 		 unsigned long r6, unsigned long r7,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 		 unsigned long end_of_ram);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #define CUBOOT_INIT() \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	do { \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 		memcpy(&bd, (bd_t *)r3, sizeof(bd)); \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 		cuboot_init(r4, r5, r6, r7, bd.bi_memstart + bd.bi_memsize); \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	} while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #endif /* _PPC_BOOT_CUBOOT_H_ */