Ruchika Gupta | 8ca8d82 | 2010-12-15 17:02:08 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2010-2011 Freescale Semiconductor, Inc. |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Ruchika Gupta | 8ca8d82 | 2010-12-15 17:02:08 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __FSL_SECURE_BOOT_H |
| 8 | #define __FSL_SECURE_BOOT_H |
| 9 | |
Po Liu | d103009 | 2013-08-21 14:20:21 +0800 | [diff] [blame] | 10 | #ifdef CONFIG_SECURE_BOOT |
Ruchika Gupta | 8ca8d82 | 2010-12-15 17:02:08 +0000 | [diff] [blame] | 11 | #if defined(CONFIG_FSL_CORENET) |
| 12 | #define CONFIG_SYS_PBI_FLASH_BASE 0xc0000000 |
Aneesh Bansal | bf955b2 | 2014-03-12 00:07:27 +0530 | [diff] [blame] | 13 | #elif defined(CONFIG_BSC9132QDS) |
| 14 | #define CONFIG_SYS_PBI_FLASH_BASE 0xc8000000 |
Ruchika Gupta | 8ca8d82 | 2010-12-15 17:02:08 +0000 | [diff] [blame] | 15 | #else |
| 16 | #define CONFIG_SYS_PBI_FLASH_BASE 0xce000000 |
| 17 | #endif |
| 18 | #define CONFIG_SYS_PBI_FLASH_WINDOW 0xcff80000 |
| 19 | |
Aneesh Bansal | c25baec | 2014-03-18 23:40:59 +0530 | [diff] [blame] | 20 | #if defined(CONFIG_B4860QDS) || \ |
| 21 | defined(CONFIG_T4240QDS) || \ |
Aneesh Bansal | a02a44b | 2014-03-18 23:41:14 +0530 | [diff] [blame] | 22 | defined(CONFIG_T2080QDS) || \ |
Aneesh Bansal | b642549 | 2014-04-22 15:17:06 +0530 | [diff] [blame] | 23 | defined(CONFIG_T2080RDB) || \ |
Aneesh Bansal | a02a44b | 2014-03-18 23:41:14 +0530 | [diff] [blame] | 24 | defined(CONFIG_T1040QDS) || \ |
Shengzhou Liu | e6fb770 | 2014-11-24 17:11:54 +0800 | [diff] [blame^] | 25 | defined(CONFIG_T104xRDB) || \ |
| 26 | defined(CONFIG_PPC_T1023) || \ |
| 27 | defined(CONFIG_PPC_T1024) |
Aneesh Bansal | 8bcbc27 | 2014-03-18 23:40:26 +0530 | [diff] [blame] | 28 | #define CONFIG_SYS_CPC_REINIT_F |
| 29 | #undef CONFIG_SYS_INIT_L3_ADDR |
| 30 | #define CONFIG_SYS_INIT_L3_ADDR 0xbff00000 |
| 31 | #endif |
| 32 | |
Ruchika Gupta | 8ca8d82 | 2010-12-15 17:02:08 +0000 | [diff] [blame] | 33 | #endif |
Po Liu | d103009 | 2013-08-21 14:20:21 +0800 | [diff] [blame] | 34 | #endif |