aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/image/spi-loader/include/spi-nor.h
blob: efbf38660137b5cef1bf8743a1de967cb5ff48cf (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: BSD-2-Clause
/*
 * Copyright (c) 2022 Matthias Schiffer <mschiffer@universe-factory.net>
 */

#pragma once

#include <types.h>

int spi_nor_read_id(void);
int spi_nor_read_data(void *dest, size_t pos, size_t len);