diff options
author | Stefano Babic <sbabic@denx.de> | 2014-12-30 13:04:09 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-12-30 13:04:38 +0100 |
commit | 4e0114d9679173cfe8bfaffb8b4fb4bbf8cdaa10 (patch) | |
tree | 2a909fd0434753a0e5b252afcda5aeb23f21ac26 /board/intel/crownbay/crownbay.c | |
parent | 7ae350a0305de592faa8903255c988d4e6afb194 (diff) | |
parent | 125738e819a3b9d15210794b3dcef9f4d9bcf866 (diff) | |
download | talos-obmc-uboot-4e0114d9679173cfe8bfaffb8b4fb4bbf8cdaa10.tar.gz talos-obmc-uboot-4e0114d9679173cfe8bfaffb8b4fb4bbf8cdaa10.zip |
Merge branch 'master' of git://git.denx.de/u-boot
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/intel/crownbay/crownbay.c')
-rw-r--r-- | board/intel/crownbay/crownbay.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/board/intel/crownbay/crownbay.c b/board/intel/crownbay/crownbay.c new file mode 100644 index 0000000000..2a254efe3d --- /dev/null +++ b/board/intel/crownbay/crownbay.c @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include <common.h> +#include <asm/ibmpc.h> +#include <asm/pnp_def.h> +#include <netdev.h> +#include <smsc_lpc47m.h> + +#define SERIAL_DEV PNP_DEV(0x2e, 4) + +DECLARE_GLOBAL_DATA_PTR; + +int board_early_init_f(void) +{ + lpc47m_enable_serial(SERIAL_DEV, UART0_BASE); + + return 0; +} + +void setup_pch_gpios(u16 gpiobase, const struct pch_gpio_map *gpio) +{ + return; +} + +int board_eth_init(bd_t *bis) +{ + return pci_eth_init(bis); +} |