[PATCH] ddr: altera: n5x: Return error if invalid DDR type is detected in argument