summaryrefslogtreecommitdiff
path: root/drivers/rkflash/rkflash_debug.c
blob: 8d8e7d6e3b20ca7178b6b16d6cdbee144dc9f45a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0

/* Copyright (c) 2018 Rockchip Electronics Co. Ltd. */

#include <linux/kernel.h>

#include "rkflash_debug.h"
#include "sfc_nor.h"
#include "typedef.h"

void rknand_print_hex(char *s, void *buf, int width, int len)
{
	print_hex_dump(KERN_WARNING, s, DUMP_PREFIX_OFFSET,
		       16, width, buf, len * width, 0);
}