diff options
author | Heiko Schocher <hs@denx.de> | 2019-07-22 06:49:04 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2019-07-30 12:54:37 +0200 |
commit | 98a82798068331d1b3a137d21f96af169aecc7cf (patch) | |
tree | f3c76ec1ab1e503822a8e2988fde821b714a5928 | |
parent | 2f6dc79a4ff1a35331d85566a426120801c1f20a (diff) | |
download | u-boot-98a82798068331d1b3a137d21f96af169aecc7cf.tar.gz |
global_data: enable fb_base for DM_VIDEO
with CONFIG_VIDEO we store fb base address
in global data fb_base variable. Do this
also in DM_VIDEO case.
Signed-off-by: Heiko Schocher <hs@denx.de>
-rw-r--r-- | include/asm-generic/global_data.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h index 7c2220643b..5372d5d8cd 100644 --- a/include/asm-generic/global_data.h +++ b/include/asm-generic/global_data.h @@ -33,7 +33,7 @@ typedef struct global_data { /* We cannot bracket this with CONFIG_PCI due to mpc5xxx */ unsigned long pci_clk; unsigned long mem_clk; -#if defined(CONFIG_LCD) || defined(CONFIG_VIDEO) +#if defined(CONFIG_LCD) || defined(CONFIG_VIDEO) || defined(CONFIG_DM_VIDEO) unsigned long fb_base; /* Base address of framebuffer mem */ #endif #if defined(CONFIG_POST) |