Starting from the bf609-ezkit.h configuration, what is the appropriate approach to remove boot options (in my case, I want to only leave UART and SPI FLASH)?
For removing the parallel NOR flash, I had commented out the following #def's in my config file:
#define CONFIG_SYS_FLASH_CFI_WIDTH 2
#define CONFIG_SYS_FLASH_BASE 0xb0000000
#define CONFIG_SYS_MAX_FLASH_BANKS 1
#define CONFIG_SYS_MAX_FLASH_SECT 131
And added the following:
However, arch/blackfin/lib/board.c appears to require CONFIG_SYS_FLASH_BASE (wrapped in an #ifdef for __ADSPBF60x__) in order to set up the CPLB table. Adding an appropriate '&& !defined(CONFIG_SYS_NO_FLASH)' appears to fix the issue.
Is this all that is required? Nothing else missing? Should I have left CONFIG_SYS_FLASH_BASE defined but commented out the others?