mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-19 02:31:24 +01:00
Fix CS8900 regression on impa7 board
The following error was seen on impa7 board, due to its use of a 32-bit bus on CS8900. cs8900.c:137:37: error: macro "get_reg_init_bus" passed 2 arguments, but takes just 1 This patch gives the macro the correct number of arguments Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
e5c5d9e083
commit
830c7b6722
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@
|
|||
#define REG_READ(a) readl((a))
|
||||
|
||||
/* we don't need 16 bit initialisation on 32 bit bus */
|
||||
#define get_reg_init_bus(x) get_reg((x))
|
||||
#define get_reg_init_bus(r,d) get_reg((r),(d))
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue