X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fstdio_dev.h;h=13f76be7c2b6fac3a9626a8089dd71ebf2349c3f;hb=fc607d9ab96654973bd13dc0de1b2ff6d3d901b4;hp=268de8ea70058b7500bc4b75e07d5371aba653fb;hpb=2a8c9c86b92a9ccee3c27286de317e19bb0530b3;p=karo-tx-uboot.git diff --git a/include/stdio_dev.h b/include/stdio_dev.h index 268de8ea70..13f76be7c2 100644 --- a/include/stdio_dev.h +++ b/include/stdio_dev.h @@ -16,14 +16,12 @@ #define DEV_FLAGS_INPUT 0x00000001 /* Device can be used as input console */ #define DEV_FLAGS_OUTPUT 0x00000002 /* Device can be used as output console */ -#define DEV_FLAGS_SYSTEM 0x80000000 /* Device is a system device */ -#define DEV_EXT_VIDEO 0x00000001 /* Video extensions supported */ /* Device information */ struct stdio_dev { int flags; /* Device flags: input/output/system */ int ext; /* Supported extensions */ - char name[16]; /* Device name */ + char name[32]; /* Device name */ /* GENERAL functions */ @@ -103,8 +101,8 @@ int stdio_init(void); void stdio_print_current_devices(void); #ifdef CONFIG_SYS_STDIO_DEREGISTER -int stdio_deregister(const char *devname); -int stdio_deregister_dev(struct stdio_dev *dev); +int stdio_deregister(const char *devname, int force); +int stdio_deregister_dev(struct stdio_dev *dev, int force); #endif struct list_head* stdio_get_list(void); struct stdio_dev* stdio_get_by_name(const char* name);