foboot/booster/include/booster.h
Sean Cross acdccf5f98 booster: change magic number for booster
Since the USB and flash communication layers are different, change the
magic number for booster.  This will prevent previous versions of foboot
from trying to launch our updater with the wrong version.

Signed-off-by: Sean Cross <sean@xobs.io>
2019-11-28 16:36:45 +08:00

22 lines
365 B
C

#ifndef FOBOOSTER_H_
#define FOBOOSTER_H_
#include <stdint.h>
#include <stdbool.h>
#define XXH_NO_LONG_LONG
#define XXH_FORCE_ALIGN_CHECK 0
#define XXH_FORCE_NATIVE_FORMAT 0
#define XXH_PRIVATE_API
#include "xxhash.h"
#define BOOSTER_SEED 0xc38b9e66L
#define BOOSTER_SIGNATURE 0xfaa999b1
struct booster_data
{
uint32_t xxhash;
};
#endif /* FOBOOSTER_H_ */