| 123456789101112131415161718192021222324252627282930313233 |
- /*
- * (c) MediaTek Inc. 2011
- */
- /******************************************************************************
- * CHIP SELECTION
- ******************************************************************************/
- /*#include <mach/mt_typedefs.h>*/
- #include "hacc_mach.h"
- /******************************************************************************
- * REGISTER
- ******************************************************************************/
- #include "sec_boot_lib.h"
- #include "sec_mod.h"
- /******************************************************************************
- * LOCAL FUNCTIONS
- ******************************************************************************/
- int masp_hal_sbc_enabled(void)
- {
- return g_hw_sbcen;
- }
- int masp_hal_get_sbc_checksum(unsigned int *pChecksum)
- {
- int i;
- for (i = 0; i < NUM_SBC_PUBK_HASH; i++)
- *pChecksum += g_sbc_pubk_hash[i];
- return 0;
- }
|