component/soc : move dport access header files to soc

1. move dport access header files to soc
2. reduce dport register write protection. Only protect read operation
This commit is contained in:
Tian Hao
2017-05-09 18:06:00 +08:00
parent f7e8856520
commit 26a3cb93c7
26 changed files with 135 additions and 110 deletions

View File

@@ -35,7 +35,6 @@
#include "rom/ets_sys.h"
#include "soc/dport_reg.h"
#include "soc/hwcrypto_reg.h"
#include "esp_dport_access.h"
inline static uint32_t SHA_LOAD_REG(esp_sha_type sha_type) {
return SHA_1_LOAD_REG + sha_type * 0x10;