summaryrefslogtreecommitdiffstats
path: root/arch/arm/boards/raspberry-pi/lowlevel.h
blob: a29860d607f3c40f162ccfea7ccb7180971ad9fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __ARCH_ARM_BOARDS_LOWLEVEL_H__
#define __ARCH_ARM_BOARDS_LOWLEVEL_H__

#include <linux/types.h>
#include <linux/sizes.h>

#define VIDEOCORE_FDT_SZ SZ_1M
#define VIDEOCORE_FDT_ERROR 0xdeadfeed

ssize_t rpi_get_arm_mem(void);
int rpi_get_usbethaddr(u8 mac[6]);
int rpi_get_board_rev(void);

#endif /* __ARCH_ARM_BOARDS_LOWLEVEL_H__ */