]> git.ipfire.org Git - thirdparty/u-boot.git/blame - include/sdp.h
configs: at91: sama7g54_curiosity: Add initial default configs
[thirdparty/u-boot.git] / include / sdp.h
CommitLineData
83d290c5 1/* SPDX-License-Identifier: GPL-2.0+ */
5661f08a
SA
2/*
3 * sdp.h - Serial Download Protocol
4 *
5 * Copyright (C) 2017 Toradex
6 * Author: Stefan Agner <stefan.agner@toradex.com>
5661f08a
SA
7 */
8
9#ifndef __SDP_H_
10#define __SDP_H_
11
6b84acc9 12int sdp_init(struct udevice *udc);
2c72ead7
FS
13
14#ifdef CONFIG_SPL_BUILD
15#include <spl.h>
16
6b84acc9 17int spl_sdp_handle(struct udevice *udc, struct spl_image_info *spl_image,
2e0429bc 18 struct spl_boot_device *bootdev);
2c72ead7 19#else
6b84acc9 20int sdp_handle(struct udevice *udc);
2c72ead7 21#endif
5661f08a
SA
22
23#endif /* __SDP_H_ */