mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00

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>
19 lines
385 B
C
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;
|
|
}
|