Utilize the constants in rtc_reg_common.h and rtc_common.h. 1. Maintain minimum defines in mt6685_rtc.h. 2. Remove mt6685_hw.h and mt6685_rtc_hw.h. 3. Remove redundant definitions. The constains in mt6685_rtc.h are determined by below command, aarch64-cros-linux-gnu-gcc -E src/soc/mediatek/mt8196/mt6685_rtc.c \ -I src/commonlib/bsd/include/ -I src/include/ \ -I src/commonlib/include/ -I src/soc/mediatek/mt8196/include/ \ -I src/soc/mediatek/common/include/ -I src/arch/arm64/include/armv8/ \ -I ./src/arch/arm64/include/ BRANCH=rauru BUG=b:391067089 TEST=compare macro expansion result before and after applying the patch TEST=boot to kernel without RTC error Change-Id: I69ee165df6a1c9ea5853173f46f0aafc382153c1 Signed-off-by: Yidi Lin <yidilin@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86264 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> |
||
|---|---|---|
| .. | ||
| acpi | ||
| arch | ||
| commonlib | ||
| console | ||
| cpu | ||
| device | ||
| drivers | ||
| ec | ||
| include | ||
| lib | ||
| mainboard | ||
| northbridge | ||
| sbom | ||
| security | ||
| soc | ||
| southbridge | ||
| superio | ||
| vendorcode | ||
| Kconfig | ||