Mario Six | b47839c | 2019-01-21 09:17:58 +0100 | [diff] [blame] | 1 | #if defined(CONFIG_LBLAW0) |
| 2 | #define CONFIG_SYS_LBLAWBAR0_PRELIM \ |
| 3 | CONFIG_LBLAW0_BASE |
| 4 | #define CONFIG_SYS_LBLAWAR0_PRELIM (\ |
| 5 | CONFIG_LBLAW0_ENABLE_BIT |\ |
| 6 | CONFIG_LBLAW0_LENGTH \ |
| 7 | ) |
| 8 | #endif |
| 9 | |
| 10 | #if defined(CONFIG_LBLAW1) |
| 11 | #define CONFIG_SYS_LBLAWBAR1_PRELIM \ |
| 12 | CONFIG_LBLAW1_BASE |
| 13 | #define CONFIG_SYS_LBLAWAR1_PRELIM (\ |
| 14 | CONFIG_LBLAW1_ENABLE_BIT |\ |
| 15 | CONFIG_LBLAW1_LENGTH \ |
| 16 | ) |
| 17 | #endif |
| 18 | |
| 19 | #if defined(CONFIG_LBLAW2) |
| 20 | #define CONFIG_SYS_LBLAWBAR2_PRELIM \ |
| 21 | CONFIG_LBLAW2_BASE |
| 22 | #define CONFIG_SYS_LBLAWAR2_PRELIM (\ |
| 23 | CONFIG_LBLAW2_ENABLE_BIT |\ |
| 24 | CONFIG_LBLAW2_LENGTH \ |
| 25 | ) |
| 26 | #endif |
| 27 | |
| 28 | #if defined(CONFIG_LBLAW3) |
| 29 | #define CONFIG_SYS_LBLAWBAR3_PRELIM \ |
| 30 | CONFIG_LBLAW3_BASE |
| 31 | #define CONFIG_SYS_LBLAWAR3_PRELIM (\ |
| 32 | CONFIG_LBLAW3_ENABLE_BIT |\ |
| 33 | CONFIG_LBLAW3_LENGTH \ |
| 34 | ) |
| 35 | #endif |
| 36 | |
| 37 | #ifdef CONFIG_NAND_LBLAWBAR_PRELIM_0 |
| 38 | #define CONFIG_SYS_NAND_LBLAWBAR_PRELIM CONFIG_SYS_LBLAWBAR0_PRELIM |
| 39 | #define CONFIG_SYS_NAND_LBLAWAR_PRELIM CONFIG_SYS_LBLAWAR0_PRELIM |
| 40 | #endif |
| 41 | |
| 42 | #ifdef CONFIG_NAND_LBLAWBAR_PRELIM_1 |
| 43 | #define CONFIG_SYS_NAND_LBLAWBAR_PRELIM CONFIG_SYS_LBLAWBAR1_PRELIM |
| 44 | #define CONFIG_SYS_NAND_LBLAWAR_PRELIM CONFIG_SYS_LBLAWAR1_PRELIM |
| 45 | #endif |
| 46 | |
| 47 | #ifdef CONFIG_NAND_LBLAWBAR_PRELIM_2 |
| 48 | #define CONFIG_SYS_NAND_LBLAWBAR_PRELIM CONFIG_SYS_LBLAWBAR2_PRELIM |
| 49 | #define CONFIG_SYS_NAND_LBLAWAR_PRELIM CONFIG_SYS_LBLAWAR2_PRELIM |
| 50 | #endif |
| 51 | |
| 52 | #ifdef CONFIG_NAND_LBLAWBAR_PRELIM_3 |
| 53 | #define CONFIG_SYS_NAND_LBLAWBAR_PRELIM CONFIG_SYS_LBLAWBAR3_PRELIM |
| 54 | #define CONFIG_SYS_NAND_LBLAWAR_PRELIM CONFIG_SYS_LBLAWAR3_PRELIM |
| 55 | #endif |