diff options
author | John Klug <john.klug@multitech.com> | 2019-04-16 18:44:44 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-04-16 18:44:44 -0500 |
commit | d1e77abae719ced8ce3528e254c80ff4e7351b1b (patch) | |
tree | 6c676b09795ed4bbb1e2ac7b03a9c79115cda638 /recipes-bsp/at91bootstrap/at91bootstrap-3.5.3/at91bootstrap-3.5.3-disable-rtc-interrupts.patch | |
parent | 032de37a6827b8006a93fb8e648a28757d5c7c9f (diff) | |
download | meta-multitech-atmel-d1e77abae719ced8ce3528e254c80ff4e7351b1b.tar.gz meta-multitech-atmel-d1e77abae719ced8ce3528e254c80ff4e7351b1b.tar.bz2 meta-multitech-atmel-d1e77abae719ced8ce3528e254c80ff4e7351b1b.zip |
Move bootstrap to ONFI compatible 3.8.12
Diffstat (limited to 'recipes-bsp/at91bootstrap/at91bootstrap-3.5.3/at91bootstrap-3.5.3-disable-rtc-interrupts.patch')
-rw-r--r-- | recipes-bsp/at91bootstrap/at91bootstrap-3.5.3/at91bootstrap-3.5.3-disable-rtc-interrupts.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/recipes-bsp/at91bootstrap/at91bootstrap-3.5.3/at91bootstrap-3.5.3-disable-rtc-interrupts.patch b/recipes-bsp/at91bootstrap/at91bootstrap-3.5.3/at91bootstrap-3.5.3-disable-rtc-interrupts.patch deleted file mode 100644 index e5dd013..0000000 --- a/recipes-bsp/at91bootstrap/at91bootstrap-3.5.3/at91bootstrap-3.5.3-disable-rtc-interrupts.patch +++ /dev/null @@ -1,27 +0,0 @@ -Index: at91bootstrap-3.5.3/board/at91sam9x5ek/at91sam9x5ek.c -=================================================================== ---- at91bootstrap-3.5.3.orig/board/at91sam9x5ek/at91sam9x5ek.c 2015-12-21 15:42:05.498892917 -0600 -+++ at91bootstrap-3.5.3/board/at91sam9x5ek/at91sam9x5ek.c 2015-12-22 14:53:59.151521592 -0600 -@@ -46,6 +46,9 @@ - - #include "onewire_info.h" - -+#define RTC_SCCR 0x1C -+#define RTC_IDR 0x24 -+ - #ifdef CONFIG_USER_HW_INIT - extern void hw_init_hook(void); - #endif -@@ -207,6 +210,12 @@ - #ifdef CONFIG_USER_HW_INIT - hw_init_hook(); - #endif -+ -+ /* disable all RTC interrupts and clear status register. -+ * Prevents possible Linux lockup due to unexpected RTC interrupt -+ */ -+ writel(0xFF, RTC_IDR + AT91C_BASE_RTC); -+ writel(0xFF, RTC_SCCR + AT91C_BASE_RTC); - } - #endif /* #ifdef CONFIG_HW_INIT */ - |