Skip to content

Commit

Permalink
orpsoc: cfi_ctrl software driver fix to allow compilation when it's n…
Browse files Browse the repository at this point in the history
…ot used

git-svn-id: http://opencores.org/ocsvn/openrisc/openrisc/trunk/orpsocv2@656 04c7f051-eaf3-4997-922d-f29d9d8c0f3f
  • Loading branch information
julius committed Oct 22, 2011
1 parent 26865bf commit f70a3c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sw/drivers/cfi-ctrl/cfi_ctrl.c
Expand Up @@ -6,6 +6,10 @@
#include "cpu-utils.h"
#include "cfi_ctrl.h"

#ifndef CFI_CTRL_BASE
#define CFI_CTRL_BASE -1
#endif

void cfi_ctrl_reset_flash(void)
{
//REG32((CFI_CTRL_BASE + CFI_CTRL_SCR_OFFSET)) = CFI_CTRL_SCR_RESET_DEVICE;
Expand Down

0 comments on commit f70a3c0

Please sign in to comment.