]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sysinfo: rcar3: Fix Draak and Eagle board code
authorTam Nguyen <tam.nguyen.xa@renesas.com>
Mon, 27 Feb 2023 22:58:46 +0000 (23:58 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Fri, 10 Mar 2023 16:46:09 +0000 (17:46 +0100)
Correct the board code ID based on the hardware documentation

Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Tam Nguyen <tam.nguyen.xa@renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
drivers/sysinfo/rcar3.c

index c2f4ddfbbe380fa0c51a818396aa450141d6b38b..c0afc92f6758f22586a640de961aabfba35f68ec 100644 (file)
 #define BOARD_SALVATOR_X       0x0
 #define BOARD_KRIEK            0x1
 #define BOARD_STARTER_KIT      0x2
+#define BOARD_EAGLE            0x3
 #define BOARD_SALVATOR_XS      0x4
+#define BOARD_DRAAK            0x7
 #define BOARD_EBISU            0x8
 #define BOARD_STARTER_KIT_PRE  0xB
 #define BOARD_EBISU_4D         0xD
-#define BOARD_DRAAK            0xE
-#define BOARD_EAGLE            0xF
 
 /**
  * struct sysinfo_rcar_priv - sysinfo private data