From 70ddcbcb352aeb50a3103dcdf7341e84d8accf74 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sun, 28 Feb 2021 20:08:58 +0100 Subject: video: add simplefb driver barebox has support to fix up a framebuffer it has set up as simplefb into the device tree of a kernel it boots. Add the counterpart to this, so barebox itself can reuse an already set up frame buffer. This is done to support the framebuffer device on the tinyemu RISC-V machine. Signed-off-by: Ahmad Fatoum Signed-off-by: Sascha Hauer --- include/linux/platform_data/simplefb.h | 46 ++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 include/linux/platform_data/simplefb.h (limited to 'include') diff --git a/include/linux/platform_data/simplefb.h b/include/linux/platform_data/simplefb.h new file mode 100644 index 0000000000..a4f07eccd8 --- /dev/null +++ b/include/linux/platform_data/simplefb.h @@ -0,0 +1,46 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * simplefb.h - Simple Framebuffer Device + * + * Copyright (C) 2013 David Herrmann + */ + +#ifndef __PLATFORM_DATA_SIMPLEFB_H__ +#define __PLATFORM_DATA_SIMPLEFB_H__ + +#include