u-boot/arch/arm/mach-k3/include/mach/k3-ddr.h
Neha Malcom Francis 4ee0d2ecf4 arm: mach-k3: k3-ddr.h: Include spl.h
Include spl.h to avoid definition errors in custom builds.

Fixes: commit bc07851897 ("board: ti: Pull redundant DDR functions to a common location and Fixup DDR size when ECC is enabled")
Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2025-04-05 18:28:02 -06:00

18 lines
381 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2024, Texas Instruments Incorporated - https://www.ti.com/
*/
#ifndef _K3_DDR_H_
#define _K3_DDR_H_
#include <spl.h>
int dram_init(void);
int dram_init_banksize(void);
void fixup_ddr_driver_for_ecc(struct spl_image_info *spl_image);
void fixup_memory_node(struct spl_image_info *spl_image);
#endif /* _K3_DDR_H_ */