u-boot/board/alliedtelesis/x250/x250.c
Chris Packham 7446e29db5 arm: mvebu: Add Allied Telesis x250 board
The x250 and SE250 are series of 10G L2+ switches from Allied Telesis.
There are a number of them in the range but as far as U-Boot is
concerned all the CPU block components are the same so there's only one
board defined.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2024-11-26 13:20:03 +01:00

19 lines
385 B
C

// SPDX-License-Identifier: GPL-2.0+
#include <config.h>
#include <asm/global_data.h>
#include <linux/io.h>
DECLARE_GLOBAL_DATA_PTR;
#define DEVICE_BUS_SYNC_CTRL 0xF27004C8
int board_init(void)
{
gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100;
/* DEV_READYn is not needed for NVS, ignore it when accessing CS1 */
writel(0x00004001, DEVICE_BUS_SYNC_CTRL);
return 0;
}