diff options
author | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-11-28 18:50:11 +0100 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-11-30 10:26:37 +0000 |
commit | aea00f496b1cf41fd5b568b4c6079c2ab76eafd4 (patch) | |
tree | a42e9c303964a884ae0ffb8218d2b3cf8696d212 /util/broadcom/secimage/secimage.h | |
parent | 48418757cb48a08d0e0d4db25a950ba74b77b21e (diff) |
broadcom: Remove SoC and board support
The reason for this code cleanup is the legacy
Google Purin board which isn't available anymore
and AFAIK never made it into the stores.
* Remove broadcom cygnus SoC support
* Remove /util/broadcom tool
* Remove Google Purin mainboard
* Remove MAINTAINERS entries
Change-Id: I148dd7eb0192d396cb69bc26c4062f88a764771a
Signed-off-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/29905
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/broadcom/secimage/secimage.h')
-rw-r--r-- | util/broadcom/secimage/secimage.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/util/broadcom/secimage/secimage.h b/util/broadcom/secimage/secimage.h deleted file mode 100644 index 395e66ae83..0000000000 --- a/util/broadcom/secimage/secimage.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2015 Broadcom Corporation - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation version 2. - * - * This program is distributed "as is" WITHOUT ANY WARRANTY of any - * kind, whether express or implied; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef _SECIMAGE_H_ -#define _SECIMAGE_H_ - -#include <stdint.h> -#include <sys/types.h> - -#define FIELD1_OFFSET 16 -#define FIELD2_OFFSET 18 -#define FIELD3_OFFSET 20 -#define FIELD4_OFFSET 36 -#define FIELD5_OFFSET 40 -#define FIELD6_OFFSET 44 -#define FIELD7_OFFSET 48 -#define FIELD8_OFFSET 50 -#define FIELD9_OFFSET 60 - -typedef struct Header_t { - uint32_t Tag; - uint32_t Length; - uint32_t Reserved; - uint32_t crc; -} HEADER; - -int DataWrite(char *filename, char *buf, int length); -int DataRead(char *filename, uint8_t *buf, int *length); -int AppendHMACSignature(uint8_t *data, uint32_t length, char *filename, - uint32_t offset); -int ReadBinaryFile(char *fname, uint8_t *buf, int maxlen); -void FillHeaderFromConfigFile(char *h, char *ConfigFileName); - -#endif /* _SECIMAGE_H_ */ |