From b7e0d73bad051b666c6cbf9dff381f4c48dcb8a2 Mon Sep 17 00:00:00 2001 From: Simon Glass <sjg@chromium.org> Date: Thu, 18 May 2017 20:09:02 -0600 Subject: dm: core: Add a place to put extra device-tree reading functions Some functions deal with structured data rather than simple data types. It makes sense to have these in their own file. For now this just has a function to read a flashmap entry. Move the data types also. Signed-off-by: Simon Glass <sjg@chromium.org> --- include/cros_ec.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/cros_ec.h') diff --git a/include/cros_ec.h b/include/cros_ec.h index 0271f2b827..2bd9f2251f 100644 --- a/include/cros_ec.h +++ b/include/cros_ec.h @@ -14,6 +14,7 @@ #include <fdtdec.h> #include <cros_ec_message.h> #include <asm/gpio.h> +#include <dm/of_extra.h> /* Our configuration information */ struct cros_ec_dev { -- cgit