include/spd_bin.h: Add SPD IO layer
[coreboot2.git] / src / include / ux_locales.h
blob1affd925d14c579f9cd5c7fd804684bd14fd2bff
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _UX_LOCALES_H_
4 #define _UX_LOCALES_H_
6 #include <types.h>
8 /* Unmap the preram_locales if it has been mapped. No-op otherwise. */
9 void ux_locales_unmap(void);
12 * Get the localized text for a given string name.
13 * This function will try to read the language ID from vboot API, and search the
14 * corresponding translation from CBFS preram_locales.
16 const char *ux_locales_get_text(const char *name);
18 #endif // _UX_LOCALES_H_