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