1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-04 15:25:17 +02:00

udelay: move into platform folder

Change-Id: I9910cd1f5850a6f86e26bb1dc4ff26614f0a0964
Signed-off-by: Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/88270
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Antonio Vázquez Blanco
2025-03-01 18:40:47 +01:00
committed by Anastasia Klimchuk
parent e5f377c662
commit 51a7275a31
26 changed files with 57 additions and 16 deletions

23
include/platform/udelay.h Normal file
View File

@ -0,0 +1,23 @@
/*
* This file is part of the flashrom project.
*
* Copyright 2025 Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __UDELAY_H__
#define __UDELAY_H__
void internal_sleep(unsigned int usecs);
void default_delay(unsigned int usecs);
#endif