mirror of
https://xff.cz/git/u-boot/
synced 2025-10-04 08:51:43 +02:00
When bringing in the series 'arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"' I failed to notice that b4 noticed it was based on next and so took that as the base commit and merged that part of next to master. This reverts commitc8ffd1356d
, reversing changes made to2ee6f3a5f7
. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
49 lines
976 B
C
49 lines
976 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (c) 2019 NVIDIA Corporation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _TEGRA_CBOOT_H_
|
|
#define _TEGRA_CBOOT_H_
|
|
|
|
#include <net.h>
|
|
|
|
#ifdef CONFIG_ARM64
|
|
|
|
extern unsigned long cboot_boot_x0;
|
|
|
|
void cboot_save_boot_params(unsigned long x0, unsigned long x1,
|
|
unsigned long x2, unsigned long x3);
|
|
int cboot_dram_init(void);
|
|
int cboot_dram_init_banksize(void);
|
|
ulong cboot_get_usable_ram_top(ulong total_size);
|
|
int cboot_get_ethaddr(const void *fdt, uint8_t mac[ETH_ALEN]);
|
|
#else
|
|
static inline void cboot_save_boot_params(unsigned long x0, unsigned long x1,
|
|
unsigned long x2, unsigned long x3)
|
|
{
|
|
}
|
|
|
|
static inline int cboot_dram_init(void)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
static inline int cboot_dram_init_banksize(void)
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
|
|
static inline ulong cboot_get_usable_ram_top(ulong total_size)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline int cboot_get_ethaddr(const void *fdt, uint8_t mac[ETH_ALEN])
|
|
{
|
|
return -ENOSYS;
|
|
}
|
|
#endif
|
|
|
|
#endif
|