Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling support for Amlogic Hardware Watchdog with 60 Sec timeout. #53

Closed
wants to merge 2 commits into from
Closed

Conversation

gauravpathak
Copy link

@gauravpathak gauravpathak commented Nov 21, 2018

  • Created this PR for issue Hardware Watchdog Support for Odroid C2 (Amlogic S905) #51.

  • Added option in menuconfig by editing Kconfig file in drivers/watchdog directory to enable/disable Amlogic Hardware watchdog.

  • Added a new file s905_wdt.c under drivers/watchdog directory for calling low-level SoC watchdog functions.

@gauravpathak
Copy link
Author

gauravpathak commented Dec 26, 2018

Can anyone please take a look at this PR and let me know any edits/modifications needed in this Pull request.
@hardkernel can anyone from hardkernel review this PR?

void hw_watchdog_init(void)
{
printf("HW WDT Timeout %d Seconds\n", WDT_HW_TIMEOUT);
watchdog_init(60 * 1000);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use WDT_HW_TIMEOUT here instead of hardcoding it. You already have the #define

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the code, removed hard-coded value and used #define macro.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mdrjr I have done the changes. Can you please suggest further improvement?

@neo-neo1
Copy link

neo-neo1 commented Jan 9, 2022

Did this ever get added?

@gauravpathak
Copy link
Author

No, I think it has not been added yet.

@gauravpathak
Copy link
Author

@neo-neo1 @mdrjr Any update on this Pull Request? Can we merge this?

@gauravpathak gauravpathak closed this by deleting the head repository Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants