#include <init.h>
#include <asm/global_data.h>
#include <asm/io.h>
+#include <asm/types.h>
#include <dm.h>
#include <linux/bitfield.h>
#include <regmap.h>
return "Unknown";
}
-static unsigned int get_socinfo(void)
+static u32 get_socinfo(void)
{
struct regmap *regmap;
int nodeoffset, ret;
ofnode node;
- unsigned int socinfo;
+ u32 socinfo;
/* find the offset of compatible node */
nodeoffset = fdt_node_offset_by_compatible(gd->fdt_blob, -1,
int checkboard(void)
{
- unsigned int socinfo;
+ u32 socinfo;
socinfo = get_socinfo();
if (!socinfo)
int meson_get_soc_rev(char *buff, size_t buff_len)
{
- unsigned int socinfo;
+ u32 socinfo;
socinfo = get_socinfo();
if (!socinfo)