board: ti: am43xx: Add FDT fixup for HS devices
authorAndrew F. Davis <afd@ti.com>
Mon, 10 Jul 2017 19:45:54 +0000 (14:45 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 23 Jul 2017 02:22:45 +0000 (22:22 -0400)
Disable RNG and add TEE to FDT used on HS devices.

Signed-off-by: Andrew F. Davis <afd@ti.com>
board/ti/am43xx/board.c
configs/am43xx_hs_evm_defconfig

index 96032215a65030d6ee688ee7c08c20497cd395dc..933596d59c8276738ddb80b94da13126f388be23 100644 (file)
@@ -838,6 +838,15 @@ int board_eth_init(bd_t *bis)
 }
 #endif
 
+#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
+int ft_board_setup(void *blob, bd_t *bd)
+{
+       ft_cpu_setup(blob, bd);
+
+       return 0;
+}
+#endif
+
 #ifdef CONFIG_SPL_LOAD_FIT
 int board_fit_config_name_match(const char *name)
 {
index 0cb2ee90add1e7f3939256c64940ad116569d522..4ad676ff0b79d18611082157ed43a8df1738a2e9 100644 (file)
@@ -11,6 +11,7 @@ CONFIG_ISW_ENTRY_ADDR=0x403018e0
 CONFIG_SPL_STACK_R_ADDR=0x82000000
 CONFIG_DEFAULT_DEVICE_TREE="am437x-gp-evm"
 CONFIG_FIT_IMAGE_POST_PROCESS=y
+CONFIG_OF_BOARD_SETUP=y
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=1,NAND"