summaryrefslogtreecommitdiff
path: root/board/socrates
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-29 14:52:51 +0300
committerAnatolij Gustschin <agust@denx.de>2021-02-20 00:36:56 +0300
commit3e831bfed4814fe20544d1b7b42c22aa3e74e8db (patch)
tree60bddfeb955904a6a710f1f397a028fb25188fcd /board/socrates
parent9c1e098fb92de38f0017585658dd50c3009c84ab (diff)
downloadu-boot-3e831bfed4814fe20544d1b7b42c22aa3e74e8db.tar.xz
video: remove unused include/mb862xx.h
CONFIG_VIDEO_MB862xx cannot be selected by any configuration. So we can eliminate include/mb862xx.h. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/socrates')
-rw-r--r--board/socrates/socrates.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c
index 0c9262d354..3444af6a8c 100644
--- a/board/socrates/socrates.c
+++ b/board/socrates/socrates.c
@@ -26,14 +26,12 @@
#include <fdt_support.h>
#include <asm/io.h>
#include <i2c.h>
-#include <mb862xx.h>
#include <video_fb.h>
#include "upm_table.h"
DECLARE_GLOBAL_DATA_PTR;
extern flash_info_t flash_info[]; /* FLASH chips info */
-extern GraphicDevice mb862xx;
void local_bus_init (void);
ulong flash_get_size (ulong base, int banknum);
@@ -207,16 +205,6 @@ int ft_board_setup(void *blob, struct bd_info *bd)
val[i++] = gd->bd->bi_flashstart;
val[i++] = gd->bd->bi_flashsize;
-#if defined(CONFIG_VIDEO_MB862xx)
- if (mb862xx.frameAdrs == CONFIG_SYS_LIME_BASE) {
- /* Fixup LIME mapping */
- val[i++] = 2; /* chip select number */
- val[i++] = 0; /* always 0 */
- val[i++] = CONFIG_SYS_LIME_BASE;
- val[i++] = CONFIG_SYS_LIME_SIZE;
- }
-#endif
-
/* Fixup FPGA mapping */
val[i++] = 3; /* chip select number */
val[i++] = 0; /* always 0 */