summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongjin Kim <tobetter@gmail.com>2021-02-16 09:26:52 +0300
committerDongjin Kim <tobetter@gmail.com>2021-02-16 09:27:17 +0300
commitc769a0a09248910366188a17b16f79ee3914fcf4 (patch)
tree33d41a5a9e12dfb52fd56dd6a63ef29ba6391565
parent2b46e839826fc1cd706ced040c4b9ad7659f6ca7 (diff)
downloadu-boot-c769a0a09248910366188a17b16f79ee3914fcf4.tar.xz
ODROID-N2: add new board revision '20210121'travis/odroidn2-178travis/odroidc4-178
Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I25e25ae12a58bf9ac4ad0bd6d0a85357e199905c
-rw-r--r--board/hardkernel/odroid-common/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/hardkernel/odroid-common/board.c b/board/hardkernel/odroid-common/board.c
index 6941726309..d1171f662b 100644
--- a/board/hardkernel/odroid-common/board.c
+++ b/board/hardkernel/odroid-common/board.c
@@ -69,6 +69,8 @@ static unsigned int get_hw_revision(void)
else if (IS_RANGE(adc, 410, 430)) { /* avg : 419 */
/* ODROID-N2plus */
hwrev = BOARD_REVISION(2019, 11, 20);
+ } else if (IS_RANGE(adc, 500, 520)) {
+ hwrev = BOARD_REVISION(2021, 1, 21);
}
#elif defined(CONFIG_ODROID_C4)
if (IS_RANGE(adc, 80, 100)) /* avg : 90 */