]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/bf533-ezkit/bf533-ezkit.c
vexpress64: cut config and defaults for unclear variant
[people/ms/u-boot.git] / board / bf533-ezkit / bf533-ezkit.c
1 /*
2 * U-boot - main board file
3 *
4 * Copyright (c) 2005-2008 Analog Devices Inc.
5 *
6 * (C) Copyright 2000-2004
7 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 *
9 * SPDX-License-Identifier: GPL-2.0+
10 */
11
12 #include <common.h>
13 #include <netdev.h>
14 #include "psd4256.h"
15 #include "flash-defines.h"
16
17 DECLARE_GLOBAL_DATA_PTR;
18
19 int checkboard(void)
20 {
21 printf("Board: ADI BF533 EZ-Kit Lite board\n");
22 printf(" Support: http://blackfin.uclinux.org/\n");
23 return 0;
24 }
25
26 /* miscellaneous platform dependent initialisations */
27 int misc_init_r(void)
28 {
29 /* Set direction bits for Video en/decoder reset as output */
30 *(volatile unsigned char *)(CONFIG_SYS_FLASH1_BASE + PSD_PORTA_DIR) =
31 PSDA_VDEC_RST | PSDA_VENC_RST;
32 /* Deactivate Video en/decoder reset lines */
33 *(volatile unsigned char *)(CONFIG_SYS_FLASH1_BASE + PSD_PORTA_DOUT) =
34 PSDA_VDEC_RST | PSDA_VENC_RST;
35
36 return 0;
37 }
38
39 #ifdef CONFIG_SMC91111
40 int board_eth_init(bd_t *bis)
41 {
42 return smc91111_initialize(0, CONFIG_SMC91111_BASE);
43 }
44 #endif