Enable verified boot functionality for a new am335x_boneblack_vboot target.

Signed-off-by: Simon Glass <s...@chromium.org>
---

Changes in v3:
- Use verified boot only on a new board - am335x_boneblack_vboot

Changes in v2: None

 boards.cfg                   | 1 +
 include/configs/am335x_evm.h | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/boards.cfg b/boards.cfg
index b8cfead..f255ba7 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -269,6 +269,7 @@ Active  arm         armv7          am33xx      siemens      
   pxm2
 Active  arm         armv7          am33xx      siemens         rut             
    rut                                   -                                     
                                                                                
            Roger Meier <r.me...@siemens.com>
 Active  arm         armv7          am33xx      silica          pengwyn         
    pengwyn                               -                                     
                                                                                
            Lothar Felten <lothar.fel...@gmail.com>
 Active  arm         armv7          am33xx      ti              am335x          
    am335x_boneblack                      
am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT                                       
                                                  Tom Rini <tr...@ti.com>
+Active  arm         armv7          am33xx      ti              am335x          
    am335x_boneblack_vboot                
am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT,ENABLE_VBOOT                          
                                                  Tom Rini <tr...@ti.com>
 Active  arm         armv7          am33xx      ti              am335x          
    am335x_evm                            am335x_evm:SERIAL1,CONS_INDEX=1,NAND  
                                                                                
            Tom Rini <tr...@ti.com>
 Active  arm         armv7          am33xx      ti              am335x          
    am335x_evm_nor                        
am335x_evm:SERIAL1,CONS_INDEX=1,NAND,NOR                                        
                                                  Tom Rini <tr...@ti.com>
 Active  arm         armv7          am33xx      ti              am335x          
    am335x_evm_norboot                    
am335x_evm:SERIAL1,CONS_INDEX=1,NOR,NOR_BOOT                                    
                                                  Tom Rini <tr...@ti.com>
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index edc5841..5ae8c46 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -25,6 +25,10 @@
 # define CONFIG_OF_CONTROL
 # define CONFIG_OF_SEPARATE
 # define CONFIG_DEFAULT_DEVICE_TREE am335x-boneblack
+# ifdef CONFIG_ENABLE_VBOOT
+#  define CONFIG_FIT_SIGNATURE
+#  define CONFIG_RSA
+# endif
 #endif
 
 #define CONFIG_SYS_BOOTM_LEN           (16 << 20)
-- 
1.9.1.423.g4596e3a

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to