X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fbootcount.h;h=bfa5d4642764777dbfd37a51899b4df6ec5efecd;hb=6786ce1ce14feb4d02854a0c04bc0cce505be46e;hp=796b237c8f6112efadb7b7e7d9a533a9940a5e00;hpb=2ae80437fbe0181184ae4b188b89629b902702c6;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/bootcount.h b/include/bootcount.h index 796b237..bfa5d46 100644 --- a/include/bootcount.h +++ b/include/bootcount.h @@ -45,7 +45,7 @@ struct bootcount_ops { * * @dev: Device to read from * @bootcount: Place to put the current bootcount - * @return 0 if OK, -ve on error + * Return: 0 if OK, -ve on error */ int dm_bootcount_get(struct udevice *dev, u32 *bootcount); @@ -54,7 +54,7 @@ int dm_bootcount_get(struct udevice *dev, u32 *bootcount); * * @dev: Device to read from * @bootcount: Value to be written to the backing storage - * @return 0 if OK, -ve on error + * Return: 0 if OK, -ve on error */ int dm_bootcount_set(struct udevice *dev, u32 bootcount); @@ -66,20 +66,12 @@ void bootcount_store(ulong); /** * bootcount_load() - load the current bootcount * - * @return bootcount, read from the appropriate location + * Return: bootcount, read from the appropriate location */ ulong bootcount_load(void); #if defined(CONFIG_SPL_BOOTCOUNT_LIMIT) || defined(CONFIG_TPL_BOOTCOUNT_LIMIT) || defined(CONFIG_BOOTCOUNT_LIMIT) -#if !defined(CONFIG_SYS_BOOTCOUNT_LE) && !defined(CONFIG_SYS_BOOTCOUNT_BE) -# if __BYTE_ORDER == __LITTLE_ENDIAN -# define CONFIG_SYS_BOOTCOUNT_LE -# else -# define CONFIG_SYS_BOOTCOUNT_BE -# endif -#endif - #ifdef CONFIG_SYS_BOOTCOUNT_LE static inline void raw_bootcount_store(volatile u32 *addr, u32 data) {