diff options
author | Tom Rini <trini@konsulko.com> | 2022-03-07 16:20:36 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-03-07 16:20:36 -0500 |
commit | 0bf4e0bb935e5c7fc016142e0228882610ecbf39 (patch) | |
tree | 4c454f86cbbe76a633a380383ba8635d6f226a71 /board | |
parent | fd690a5e932010d0309a859169aeb77af94dff24 (diff) | |
parent | 14d8610090fe5aef1b2d0f4d80ec6d4009e61056 (diff) | |
download | u-boot-0bf4e0bb935e5c7fc016142e0228882610ecbf39.zip u-boot-0bf4e0bb935e5c7fc016142e0228882610ecbf39.tar.gz u-boot-0bf4e0bb935e5c7fc016142e0228882610ecbf39.tar.bz2 |
Merge branch '2022-03-07-add-platforms' into next
- bcm6753 support
- Aspeed GPIO driver
- AM33xx DT-related MMC updates
Diffstat (limited to 'board')
-rw-r--r-- | board/broadcom/bcm96753ref/Kconfig | 16 | ||||
-rw-r--r-- | board/broadcom/bcm96753ref/MAINTAINERS | 6 | ||||
-rw-r--r-- | board/broadcom/bcm96753ref/Makefile | 3 | ||||
-rw-r--r-- | board/broadcom/bcm96753ref/bcm96753ref.c | 40 |
4 files changed, 65 insertions, 0 deletions
diff --git a/board/broadcom/bcm96753ref/Kconfig b/board/broadcom/bcm96753ref/Kconfig new file mode 100644 index 0000000..479e790 --- /dev/null +++ b/board/broadcom/bcm96753ref/Kconfig @@ -0,0 +1,16 @@ +if TARGET_BCM96753REF + +config SYS_VENDOR + default "broadcom" + +config SYS_BOARD + default "bcm96753ref" + +config SYS_CONFIG_NAME + default "broadcom_bcm96753ref" + +endif + +config TARGET_BCM96753REF + bool "Support Broadcom bcm96753ref" + depends on ARCH_BCM6753 diff --git a/board/broadcom/bcm96753ref/MAINTAINERS b/board/broadcom/bcm96753ref/MAINTAINERS new file mode 100644 index 0000000..be060f5 --- /dev/null +++ b/board/broadcom/bcm96753ref/MAINTAINERS @@ -0,0 +1,6 @@ +BROADCOM BCM96753REF +M: Philippe Reynes <philippe.reynes@softathome.com> +S: Maintained +F: board/broadcom/bcm96753ref +F: include/configs/broadcom_bcm96753ref.h +F: configs/bcm96753ref_ram_defconfig diff --git a/board/broadcom/bcm96753ref/Makefile b/board/broadcom/bcm96753ref/Makefile new file mode 100644 index 0000000..a1fa2bf --- /dev/null +++ b/board/broadcom/bcm96753ref/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0+ + +obj-y += bcm96753ref.o diff --git a/board/broadcom/bcm96753ref/bcm96753ref.c b/board/broadcom/bcm96753ref/bcm96753ref.c new file mode 100644 index 0000000..bf78d84 --- /dev/null +++ b/board/broadcom/bcm96753ref/bcm96753ref.c @@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2022 Philippe Reynes <philippe.reynes@softathome.com> + */ + +#include <common.h> +#include <fdtdec.h> +#include <linux/io.h> +#include <cpu_func.h> + +int board_init(void) +{ + return 0; +} + +int dram_init(void) +{ + if (fdtdec_setup_mem_size_base() != 0) + printf("fdtdec_setup_mem_size_base() has failed\n"); + + return 0; +} + +int dram_init_banksize(void) +{ + fdtdec_setup_memory_banksize(); + + return 0; +} + +int print_cpuinfo(void) +{ + return 0; +} + +void enable_caches(void) +{ + icache_enable(); + dcache_enable(); +} |