Add board config header for ACube Sam460ex

* the UART is hardcoded for now, ideally it should be set up from the address found in the FDT blob.
This commit is contained in:
François Revol 2012-05-11 02:31:57 +02:00
parent 935a9b24cf
commit 0fa5c3d115
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
/*
* Copyright 2012 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* François Revol, revol@free.fr
*/
#ifndef _BOARD_SAM460EX_BOARD_CONFIG_H
#define _BOARD_SAM460EX_BOARD_CONFIG_H
#define BOARD_NAME_PRETTY "ACube Sam460ex"
// UART Settings
// TODO: use the FDT instead of hardcoding
#define BOARD_UART1_BASE 0xef600300
#define BOARD_UART2_BASE 0
#define BOARD_UART3_BASE 0
#define BOARD_UART_DEBUG BOARD_UART1_BASE
#define BOARD_UART_CLOCK 0
/* ?Mhz */
#endif /* _BOARD_SAM460EX_BOARD_CONFIG_H */